#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

Releases and problems feed (RSS)

Stars
650
License
MIT
Last commit
Nov 2026
Language
TypeScript
Stars, last 29 weeks+2
6 May 2026: 648 stars13 May 2026: 648 stars20 May 2026: 648 stars27 May 2026: 648 stars3 Jun 2026: 648 stars10 Jun 2026: 648 stars17 Jun 2026: 648 stars24 Jun 2026: 648 stars1 Jul 2026: 648 stars8 Jul 2026: 648 stars15 Jul 2026: 648 stars22 Jul 2026: 648 stars29 Jul 2026: 648 stars5 Aug 2026: 648 stars12 Aug 2026: 648 stars19 Aug 2026: 648 stars26 Aug 2026: 648 stars2 Sept 2026: 648 stars9 Sept 2026: 648 stars16 Sept 2026: 648 stars23 Sept 2026: 648 stars30 Sept 2026: 648 stars7 Oct 2026: 648 stars14 Oct 2026: 648 stars21 Oct 2026: 648 stars28 Oct 2026: 648 stars4 Nov 2026: 648 stars11 Nov 2026: 648 stars18 Nov 2026: 649 stars25 Nov 2026: 650 stars

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
Also in Backend and cloud templates
RankProjectScore
#81whatsmarsJava sample modules for Spring Boot, Dubbo, Redis, RocketMQ and Elasticsearch2k starsApache-2.050 out of 100
#82practical.cleanarchitecture.NET clean architecture sample built as monolith, modular monolith and microservices2.5k starsMIT49 out of 100
#84serverless-expressRun Express, Koa or Hapi apps on AWS Lambda or Azure Functions5.3k starsApache-2.048 out of 100
#85fullstack-solution-template-for-agentcoreReact and AgentCore starter for deploying a secured agent chat app on AWS610 starsApache-2.048 out of 100
#86serverless-samplesAWS sample collection for serverless APIs, plus a Claude Code config sync example352 starsMIT-046 out of 100