61bd5cd862
- Added `DiscordAuthGuard` to handle Discord authentication - Added `JwtAuthGuard` to handle JWT authentication These guards are used in the `auth.controller.ts` and `user.controller.ts` files to protect routes that require authentication. |
||
---|---|---|
prisma | ||
src | ||
.env.example | ||
.eslintrc.js | ||
.gitignore | ||
.prettierrc | ||
LICENSE | ||
nest-cli.json | ||
package.json | ||
README.md | ||
tsconfig.build.json | ||
tsconfig.json | ||
yarn.lock |
Project setup
$ yarn install
Compile and run the project
# development
$ yarn run start
# watch mode
$ yarn run start:dev
# production mode
$ yarn run start:prod