Skip to content

Tutorial on how to implement full oauth

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

tugascript/nestjs-oauth

Repository files navigation

Nest OAuth: Adding Mobile Apps Support

Intro

This is the source code for the tutorial Nest Authentication with OAuth2.0. This is the 6th and extra part on a 5 part series, where we will build a production level NestJS OAuth2 service.

Contents

This contains the code for a fastify based REST Authentication API, with local and external OAuth2.0 authentication.

Local Setup

  1. Install the dependencies:
    $ yarn install
  2. Create a .env file with all the fields equal to the example.
  3. Run the app in development mode:
    $ yarn start:dev

Testing

All Unit tests:

$ yarn test

Individual Unit test:

$ yarn test service-name.service.spec.ts

Coverage:

$ yarn test:cov

E2E tests:

$ yarn test:e2e

License

The code of this tutorial is licensed under the GNU Lesser General Public License v3.0. See the Copying and Copying Lesser files for details.

About

Tutorial on how to implement full oauth

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages