A Nest JS boilerplate that has some built in module:
- Auth
- User management
- File upload + serve static
- Nest JS (TypeScript)
- Mysql (with Prisma)
- Docker
- Prisma, Swagger, Multer, Jwt
- Make copy of
example.env
and name it.env
- 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
- Install Required package
npm install
- Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# development fast hot reload
$ npm run swc
- See the app running on
http://[::1]:3000
and swagger documentation onhttp://[::1]:3000/v1/docs