Skip to content

sjwright1986/nestjs-auth-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nest JS Auth Examples

A number of examples of NestJS authentication. I will add to this over time.

Installation

From each example directory, run NPM install:

npm i

And start the NestJS application:

npm start

Each of the examples can be accessed by http://localhost:3000 from your HTTP client.

Tests

Tests are implemented. E2E tests are encouraged:

npm run test:e2e

Examples

Here's the examples in this repo:

Basic Auth

A very basic example of a Basic Auth implementation in a NestJS REST API.

You can view a basic auth tutorial on my website.

Header API Key

A very basic example of a Header Api Key implementation in a NestJS REST API.

You can view a header API key tutorial on my website.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published