express-boilerplate

A boilerplate for building production-ready RESTful APIs using Node.js, Express and Mongoose, with full TypeScript support.

nodejsboilerplateexpresstypescriptmongodbjestmongooserest-apistarterexpress-boilerplatenode-boilerplateeslint
FreeRepo

Preview

express-boilerplate preview

Overview

This is a starter template for building production-ready REST APIs with Node.js, Express and MongoDB using Mongoose. It includes built-in features like JWT authentication, request validation with Joi, automated testing with Jest, error handling, logging, Docker support and API documentation, allowing developers to quickly set up a fully configured backend server with a single command.

Features

jwt-authenticationrequest-validationunit-testsintegration-testserror-handlingpaginationrole-based-authorizationemail-verificationpassword-resetrefresh-tokenscorscompressionsecurity-headersenvironment-variablesprocess-management

Feature Flags

authenticationblogemailsecommerceauthorizationloggingErrorTrackingapiDocsformsValidationloggingerrorTracking

Recommended Use Cases

rest-api-developmentbackend-starter-projectproduction-ready-applicationsmicroservices

Frontend

None

Backend

nodejsexpresstypescript

Auth Providers

passportjwt

Deployment Targets

dockerpm2

Payment Providers

None

Quick Facts

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

Stack

Framework
express
Language
typescript
Database
mongodb
Auth
passport, jwt
ORM
mongoose
Testing
jest
Logging
winston, morgan

Data Layer

Databases
mongodb
ORM
mongoose

UI Stack

Developer Experience

Docker
Yes
Tests
Yes
Quickstart
Yes
env.example
Yes

Pricing

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