Skip to content

SilvanoGPM/nestjs-auth-boilerplate

Repository files navigation

NestJS Auth

Nest Logo

NestJS Boilerplate with Autentication.

🚀 Techs

  • TypeScript
  • NestJS
  • Prisma
  • BCrypt
  • Passport
  • Jest

🔧 Installation

  1. Clone this repository.
  2. Use the command npm install to install all dependencies.
  3. USe the command copy .env.example .env and insert enviroment values.
  4. Use the command npm run migrate:dev to run prisma migrations.

▶️ Running the app

# development
npm run start

# watch mode
npm run start:dev

# production mode
npm run start:prod

🧪 Test

# unit tests
npm run test

# e2e tests
npm run test:e2e

# test coverage
npm run test:cov

❤️ Thanks