Skip to content

NestJS boilerplate with built in auth, user management, file upload, and docker compose

Notifications You must be signed in to change notification settings

Pangeran29/nestjs-boilerplate

Repository files navigation

Description

A Nest JS boilerplate that has some built in module:

  1. Auth
  2. User management
  3. File upload + serve static

Tech Specification

  1. Nest JS (TypeScript)
  2. Mysql (with Prisma)
  3. Docker
  4. Prisma, Swagger, Multer, Jwt

Setup environment

  1. Make copy of example.env and name it .env
  2. Make a new pair of RSA356 (2048 bits) public and private key using OpenSSL
$ openssl genpkey -algorithm RSA -out private.pem -aes256
$ openssl rsa -pubout -in private.pem -out public.pem
  1. Install Required package npm install
  2. Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# development fast hot reload
$ npm run swc
  1. See the app running on http://[::1]:3000 and swagger documentation onhttp://[::1]:3000/v1/docs

Documentation

About

NestJS boilerplate with built in auth, user management, file upload, and docker compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published