node-server-template

This is Node.js server tidy template / boilerplate with Express (with asyncified handlers, custom error handler) framework and MongoDb. The server use ES6 and above. On different branches you can see different techniques' and technologies' usage, such as Kafka, nodemailer, file download... You also can find postman collections.

nodejsjavascriptboilerplateexpresskafkamochayarnmongodbeslintstyle-guidemongoosewebsocket
FreeRepo

Preview

node-server-template preview

Overview

This is a Node.js server boilerplate for building REST APIs with basic create, read, update and delete operations. It uses Express for the web framework, MongoDB with Mongoose for the database and includes tools like ESLint for code quality and Mocha for testing. It is useful for developers who need a quick starting point for backend applications or want to standardize their server project structure.

Features

crud-operationsrest-apisasync-handlerscustom-error-handleres6-and-abovewebsocket-supportkafka-integrationemail-supportfile-downloadpostman-collections

Feature Flags

blogemailsfileUploadsrealtimejobsQueuenotificationsrestApiwebsocket

Recommended Use Cases

rest-api-servermicroservicereal-time-applicationsmessage-queue-processing

Frontend

None

Backend

nodejsexpress

Auth Providers

None

Deployment Targets

None

Payment Providers

None

Quick Facts

โญ Stars
132
๐Ÿด Forks
16
๐Ÿ”„ Active
Unknown
๐Ÿ•’ Last Commit
2025-03-19T09:40:09.000Z

Stack

Framework
express
Language
javascript
Database
mongodb, postgresql
ORM
mongoose, sequelize
Testing
mocha

Data Layer

Databases
postgresql, mongodb
ORM
mongoose

UI Stack

Developer Experience

Docker
No
Tests
Yes
Quickstart
Yes
env.example
Yes

Pricing

Classification
free
Selected
โ€”
Notes
Open source boilerplate template
Get Started with this Boilerplate