khakimjanovich / nest-starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nest Logo

Description a nestjs starter

I should create a boilerplate for admin panel api. It will contain an

  • auth api
  • users api
  • roles api
  • permissions api

In the project there will be these dependencies

  • TypeScript
  • Expressjs
  • TypeOrm
  • Swagger
  • Passport JWT
  • CASL

Day one

  1. The aim is to create production/development/test modes' setup for database

Installed database dependencies for type orm and config module to handle to configuration for different modes

    npm install --save @nestjs/typeorm typeorm pg config sqlite3 cross-env class-validator class-transformer
    npm install --save-dev @nestjs/config

Day two

  1. The aim is to create authentication/authorization
    npm install --save @nestjs/passport @nestjs/jwt- passport passport-local passport-jwt
    npm install --save-dev @types/passport-jwt @types/passport-local

Day three

  1. The aim is to create documentation
    npm install --save @nestjs/swagger

About


Languages

Language:TypeScript 97.7%Language:JavaScript 2.3%