Skip to content

About JwtService utilities module based on the nestjs/jwt package Authentication using NestJS & JWT Token, JwtService and cookies as access token & refresh token.

Notifications You must be signed in to change notification settings

vinodnextcoder/nestjs-mongoose-boilerplate

Repository files navigation

Mongoose sample

Installation

npm install

Running

This example requires docker or a local mongodb installation. If using a local mongodb, see app.module.ts for connection options, and make sure there are matching options for the mongodb installation and the source code.

Docker

There is a docker-compose.yml file for starting Docker.

docker-compose up

After running the sample, you can stop the Docker container with

docker-compose down

Run the sample

Then, run Nest as usual:

npm run start