Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 1017 Bytes

File metadata and controls

43 lines (33 loc) · 1017 Bytes

#😢Blog😢 ###NestJS / TypeScript / REST API / TypeORM / PostgreSQL / Swagger / JWT / Authorization / Registration)

NPM Version

Follow me to my Instagram

Installation

$ npm install
$ npm i -g @nestjs/cli
$ npm install --save @nestjs/sequelize sequelize sequelize-typescript
$ npm install --save-dev @types/sequelize
$ npm i pg pg-hstore
$ npm i @nestjs/config
$ npm i cross-env

Install PostgreSQL with pgAdmin 4

$ npm i nanoid-generate -S// not used
$ npm install --save @nestjs/swagger swagger-ui-express
$ npm i @nestjs/jwt bcryptjs
$ npm i class-validator class-transformer
$ npm i uuid

Running the app

###Useful links: decripher jwt: jwt.io

# development
$ npm run start

# watch mode
$ npm run dev

# production mode
$ npm run prod