nest-mongoose-boilerplate

Nest JS boilerplate with Mongoose ORM, JWT Passport Authentication and Repository Pattern

nodejsjavascriptboilerplatenodejsmongoosetspassportnestnode-jsnestjsnest-js
FreeRepo

Preview

nest-mongoose-boilerplate preview

Overview

This is a NestJS boilerplate built with TypeScript and MongoDB that provides a foundation for building scalable server-side applications. It includes Mongoose ORM, JWT authentication, repository pattern architecture, email and SMS sending, logging with Pino, event emitters, Bull job queues, Redis caching and graceful shutdown handling.

Features

jwt-authenticationpassport-integrationrepository-patternmongoose-ormemail-sendingsms-sendingcustom-loggerevent-emitterbull-queuesredis-cachinggraceful-shutdownseeder-clitypescript

Feature Flags

authenticationblogemailspaymentsecommercerealtimeauthorizationloggingErrorTrackingjobsQueuenotificationscachingformsValidationloggingeventEmitter

Recommended Use Cases

scalable-server-side-applicationsrest-api-developmentmicroservicesenterprise-applications

Frontend

None

Backend

nestjsnodejstypescriptmongoosepassportjwtpinobullredis

Auth Providers

passportjwt

Deployment Targets

aws

Payment Providers

None

Quick Facts

โญ Stars
1
๐Ÿด Forks
0
๐Ÿงพ License
mit
๐Ÿ”„ Active
Yes
๐Ÿ•’ Last Commit
2025-10-16T09:07:40.000Z

Stack

Framework
nestjs
Language
typescript
Database
mongodb
Auth
jwt, passport
ORM
mongoose
Testing
jest
Logging
pino
CI
circleci

Data Layer

Databases
mongodb, redis
ORM
mongoose

UI Stack

Developer Experience

Docker
No
Tests
Yes
Quickstart
Yes
env.example
No
CI
circleci

Pricing

Classification
free
Selected
โ€”
Notes
MIT licensed open source project
Get Started with this Boilerplate