Skip to content

Nestjs boilerplate. Includes mongoose, config service, swagger, casl , and pagination

Notifications You must be signed in to change notification settings

hamasaadwn/nestjs-mongoose-template

 
 

Repository files navigation

Nestjs Mongoose Boilerplate

A simple nestjs boilerplate that includes the basic and curcial features to help start your project quickly.

Features

  • Mongoose
  • Config Service
  • Swagger
  • Authentication
  • Access Control (CASL)
  • Pagination Middleware

Getting Started

To get a local copy up and running follow these steps.

Installation

  1. Click on use template and click new repository.

  2. Navigate to the project directory.

    cd <repository_directory>
  3. Create a .env file and populate it with the required environment variables provided in the .env.example file.

  4. Install the dependencies.

    npm install

Usage

To start the development server, run the following command:

npm run start:dev

The server should now be running at http://localhost:<port>. You can access the endpoints using a tool like Postman or any web browser.

About

Nestjs boilerplate. Includes mongoose, config service, swagger, casl , and pagination

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.3%
  • JavaScript 2.7%