didorg / nestjs-security

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NestJS Security

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

GraphQL endpoint

http://localhost:3000/graphql

Debugging

https://javascript.plainenglish.io/debugging-nestjs-in-vscode-d474a088c63b


Important notes

It's common to use .env files, holding key-value pairs where each key represents a particular value, to represent each environment.
A good approach for using this technique in Nest is to create a ConfigModule that exposes a ConfigService which loads the appropriate .env file.

About


Languages

Language:TypeScript 100.0%