express-mongodb-rest-api-boilerplate

A boilerplate for Node.js apps / Rest API / Authentication from scratch - express, mongodb (mongoose). Typescript

nodejsapidockerredisboilerplatejwtexpressnodetypescriptmongodbauthenticationdocker-compose
FreeRepo

Preview

express-mongodb-rest-api-boilerplate preview

Overview

This is a TypeScript-based REST API boilerplate built with Express and MongoDB that provides complete user authentication and account management features. It includes sign-up, sign-in, password reset, email verification, profile updates, image uploads, multi-language support via i18Next, Redis token blacklisting and email notifications, with a structured folder organization for controllers, services, models and middleware.

Features

authenticationauthorizationjwt-token-blacklistingpassword-resetemail-verificationuser-profile-managementavatar-uploadimage-uploadmulti-language-supportemail-notificationscors-supportinput-validationerror-handlinglogging

Feature Flags

authenticationinvoicesblogemailsecommercefileUploadsstorageauthorizationi18nloggingErrorTrackingsearchnotificationscachingimageProcessingmapsformsValidation

Recommended Use Cases

rest-api-developmentbackend-boilerplateauthentication-systemuser-managementmicroservices

Frontend

None

Backend

nodejsexpresstypescriptmongoosemongodbredisnodemailer

Auth Providers

jwt

Deployment Targets

docker

Payment Providers

None

Quick Facts

โญ Stars
649
๐Ÿด Forks
88
๐Ÿงพ License
mit
๐Ÿ”„ Active
Unknown

Stack

Framework
express
Language
typescript
Database
mongodb
Auth
jwt
ORM
mongoose
Logging
winston
i18n
i18next

Data Layer

Databases
mongodb, redis
ORM
mongoose

UI Stack

Developer Experience

Docker
Yes
Tests
No
Quickstart
Yes
env.example
Yes

Pricing

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