Skip to content

A CRUD REST API using the NodeJS NestJS framework and MongoDB/Mongoose

Notifications You must be signed in to change notification settings

benbowes/nestjs-rest-api

Repository files navigation

NestJS REST API

A CRUD REST API using the NestJS framework and MongoDB/Mongoose.

Setup

Create a .env file in the root of the project with your mongodb uri

e.g.

DB_CONNECTION_STRING=mongodb+srv://<USERNAME>:<PASSWORD>@<URL>/<DATABASE_NAME>?retryWrites=true&w=majority

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

About

A CRUD REST API using the NodeJS NestJS framework and MongoDB/Mongoose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published