Express + TypeScript Starter

View on GitHub →

Express + TypeScript Starter Template

A production-ready starter template for building REST APIs with Express and TypeScript.

Features

  • ✅ TypeScript configuration
  • ✅ ESLint + Prettier
  • ✅ Environment variables with validation
  • ✅ Structured logging
  • ✅ Error handling middleware
  • ✅ Health check endpoint
  • ✅ Docker support

Quick Start

git clone https://github.com/thomasgeens/express-ts-starter.git
cd express-ts-starter
npm install
npm run dev

Project Structure

src/
├── config/        # Configuration files
├── controllers/   # Route controllers
├── middleware/    # Custom middleware
├── models/        # Data models
├── routes/        # Route definitions
├── services/      # Business logic
└── utils/         # Utility functions

Comments