A versatile REST API for authentication featuring local, GitHub, and Google sign-up options.
✅ Nest.js
✅ Prisma
✅ Pactum (E2E Testing)
⭐️ JWT access and refresh tokens
⭐️ Google OAuth
⭐️ Github OAuth
⭐️ Private and public routes
$ pnpm install
Create a .env file and fill it following the structure provided in the .env.template file for the proper functioning of the app.
# Make sure you have docker running
$ pnpm db:dev:up
# watch mode
$ pnpm start:dev
# production mode
$ pnpm run start:prod
# Make sure you have docker running
$ pnpm db:test:up
# e2e tests
$ pnpm test:e2e
Nest is MIT licensed.