#8383rd of 110 in Backend and cloud templates
express-mongodb-rest-api-boilerplate
Express 5 and MongoDB REST API starter with auth, email queue and uploads
- Stars
- 650
- License
- MIT
- Last commit
- Nov 2026
- Language
- TypeScript
648 on 6 May 2026650 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
TypeScript backend starter built on Express 5, MongoDB, Redis and Zod. It ships JWT account auth with revocation, email verification, password recovery, JPEG/PNG uploads with WebP avatars, and a separate worker that sends email from an encrypted MongoDB outbox. Routes are documented in an OpenAPI 3.1 spec served through Swagger UI.
Who it is for: Node developers who need an authenticated REST API backend on MongoDB
Strengths
- Email jobs commit in the same transaction as account changes, with retries and leases
- Zod schemas drive DTO types and the OpenAPI 3.1 reference
- Enforces 100% test coverage via yarn check
- Domain-owned modules keep schemas, services and repositories together
Weaknesses
- Requires a MongoDB replica set or Atlas; standalone MongoDB does not work
- No Docker or compose file detected; you provision MongoDB, Redis and SMTP yourself
- Needs Node 26.13.0 and Yarn 4.18.1, both pinned
- No AI features; a generic REST backend with no billing or frontend
What it needs
- TypeScript
- Needs MongoDB 8.x replica set, Redis, SMTP relay, Node.js 26.13.0, Yarn 4.18.1
- env example file
Also in Backend and cloud templates
See all 110| Rank | Project | Score |
|---|---|---|
| #81 | whatsmarsJava sample modules for Spring Boot, Dubbo, Redis, RocketMQ and Elasticsearch | 50 out of 100 |
| #82 | practical.cleanarchitecture.NET clean architecture sample built as monolith, modular monolith and microservices | 49 out of 100 |
| #84 | serverless-expressRun Express, Koa or Hapi apps on AWS Lambda or Azure Functions | 48 out of 100 |
| #85 | fullstack-solution-template-for-agentcoreReact and AgentCore starter for deploying a secured agent chat app on AWS | 48 out of 100 |
| #86 | serverless-samplesAWS sample collection for serverless APIs, plus a Claude Code config sync example | 46 out of 100 |