$ npm install
# Server Settings
PORT=
(Locally, it will be 3001)
# Session/Cookie Settings
COOKIE_SECRET=
# Discord App Credentials
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
DISCORD_REDIRECT_URL=
(Locally, it will be http://localhost:3001/api/auth/redirect)
DISCORD_BOT_TOKEN=
# MySQL Server Settings
MYSQL_DB_HOST=
MYSQL_DB_PORT=
MYSQL_DB_USERNAME=
MYSQL_DB_PASSWORD=
MYSQL_DB_DATABASE=
MYSQL_DB_SYNCHRONIZE= #true in development; false in production
# Frontend
BOT_FRONTEND_HOST=
(Locally, it will be http://localhost:5173)
#Encryption
PASSWORD=
# development
$ npm run start
# watch mode
$ npm run dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Anson The Developer: Anson's 2022 Discord Bot Dashboard Tutorial got this project off the ground.