Contact
← All projects

Backend & APIs · API · Open source

AWS Express Template

A production-ready API starting point.

A TypeScript Express starter with JWT auth, refresh-token sessions, validation, OpenAPI docs, and a handler that runs locally or on AWS Lambda.

Stack
  • Node.js
  • TypeScript
  • Express
  • MongoDB
  • Serverless
Focus
Backend foundations · DX · Deployment
Platforms
API

01 — Context

The problem

Every new API repeats the same auth, validation, docs, and deployment setup.

02 — Decisions

The approach

ESM TypeScript with Mongoose, celebrate/Joi, and serverless-http, so the same app runs as a local server or a Lambda handler.

03 — What’s inside

Key features

  • Register, login, logout, refresh, and current user
  • Example CRUD with pagination, sorting, and filtering
  • Swagger UI at /docs and OpenAPI JSON

Scope & constraints

Deployment requires an AWS profile and the Serverless Framework.