Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.85 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.85 KB

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