#349349th of 358 in Backends, databases and hosting
nodejs-backend-architecture-typescript
Express, TypeScript and MongoDB blog API with JWT auth and Redis caching
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 3.1k
- License
- Apache-2.0
- Last commit
- Jul 2026
- Last release
- Jan 2024
- Language
- TypeScript
3,026 on 26 Apr 20263,074 on 22 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
A reference backend for a Medium-style blogging platform, built on Express, TypeScript, Mongoose/MongoDB and Redis. It includes API-key and JWT access/refresh token auth, role-based permissions (learner, writer, editor), zod validation, and centralised error and response handlers. Unit and integration tests run under Jest, and Docker Compose starts the app, MongoDB and Redis.
Who it is for: Node.js developers learning or forking a structured TypeScript REST API
Strengths
- Clear layered structure: router, handler, response and error handlers, with feature-grouped files
- Unit tests run with mocks and need no database server
- Docker Compose starts app, MongoDB and Redis with one command
- Postman API docs and video walkthroughs are linked
Weaknesses
- Fixed blog domain; reuse as a generic backend means removing blog code
- MongoDB only, through Mongoose; no SQL option
- Last tagged release is from January 2024
- No built-in billing, file storage or admin UI
What it needs
- no GPU
- Docker + Compose
- Needs MongoDB, Redis, Docker Compose
- port 3000
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Backends, databases and hosting
See all 358| Rank | Project | Score |
|---|---|---|
| #347 | sledEmbedded key-value database for Rust with a BTreeMap-like API | 29 out of 100 |
| #348 | gelGraph-relational database with object types and the EdgeQL query language | 28 out of 100 |
| #350 | vectorchordPostgreSQL extension for vector search with RaBitQ compression | 27 out of 100 |
| #351 | 1backendMicroservices platform with auth, routing and registry, plus an LLM runtime | 26 out of 100 |
| #352 | top-think/frameworkPHP 8 web application framework with ORM and PSR support | 25 out of 100 |