Skip to content

cpe-kmutt-student/comcamp34-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9706cb3 · Sep 3, 2023

History

51 Commits
Mar 10, 2023
Mar 10, 2023
Jan 25, 2023
Feb 12, 2023
Feb 13, 2023
Feb 14, 2023
Sep 3, 2023
Feb 12, 2023
Mar 9, 2023
Mar 9, 2023
Feb 13, 2023

Repository files navigation

COMCAMP API

NodeJS Project with express for using in comcamp project

JS was a mistake you can find the TS version here

Run Locally

To develop this project run

  git clone https://github.com/cpe-kmutt-student/comcamp34-backend.git
  cd comcamp34-backend
  npm install
  npm run dev

Run with Docker

  docker compose up -d

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

PORT = "8080"
DB_NAME = "comcamp"
DB_USER = "root"
DB_PASS = "password"
DATABASE_URL="mysql://root:password@mysql:3306/comcamp"
JWT_SECRET = superSecret
webHook = https://discord.com/api/webhooks/<>/<>

Authors