Skip to content
No description, website, or topics provided.
TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
.prettierrc
README.md
nodemon.json
package-lock.json
package.json
tsconfig.json
tslint.json
webpack.config.js Basic NestJS with Swagger config Jun 5, 2018

README.md

session-tutorial

Description

using basic auth to authenticate and use express-session to manage sessions with http cookie

Source code for NestJS Basic Auth and Sessions Tutorial http://blog.exceptionfound.com/index.php/2018/06/07/nestjs-basic-auth-and-sessions/

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
You can’t perform that action at this time.