Skip to content

ruslanguns/nestjs-myblog

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.

NPM Version Package License NPM Downloads Travis Linux Coverage Gitter Backers on Open Collective Sponsors on Open Collective

Description

This is a Nest repository resultant of the NestJS Crud + Login + Roles series of live coding vides of Dominicode - Youtube's channel.

Date Title Video Link
16-08-2020 CRUD + TypeOrm + MySQL https://www.youtube.com/watch?v=eL2tO9xPZLM&t
23-08-2020 CRUD Login JWT - Part 1 https://www.youtube.com/watch?v=lTmGLgtgjdM&t
30-08-2020 CRUD Login JWT - Part 2 https://www.youtube.com/watch?v=kjr54SpV_eQ
31-09-2020 Deploy de NestJS con migraciones en TypeORM en Heroku https://youtu.be/P2gvIQRXIuc

Content

  • NestJS Controller and Dependency Injection
  • TypeORM Integration with MySQL database
  • @nestjs/config package integration for Environment Variables handling
  • Secure password encryption with BcryptJs
  • Authentication strategies with Passport
  • Custom Decorator and tips
  • nest-access-control integration for RBAC and ABAC introduction
  • Class validator with custom settings
  • On boot admin user generation
  • ETC.

Installation

$ npm install

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

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.