A progressive Node.js framework for building efficient and scalable server-side applications.
This is an example of how to implement sotial (google, github), local authentications in NestJs using passport.js, and JWTs (accesss and refresh tokens). The application also utilizes Docker for containerization.
-
JWT Authentication: token-based authentication in a Nest.js app using JWT.
-
Social Authentication: Google and GitHub autentification
-
TypeORM Integration: using the MySQL Relational DBMS
-
Docker Integration
$ npm install# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov