Skip to content

GenieLitvin/nestjs-auth-jwt

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Overview

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.

Features

  • 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

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published