Skip to content

๐Ÿš€ Minimal Express.js boilerplate with TypeScript. A lightweight, production-ready Express.js + TypeScript starter template. Includes minimal setup, structured project architecture, and essential configurations to kickstart your backend service effortlessly.

License

Notifications You must be signed in to change notification settings

vratix-dev/express-ts-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Express.js TypeScript Project Created with Line0

Continue building more features using Line0 and connect your GitHub for a seamless 2-way sync!

Features

  • Express.js with TypeScript
  • Common Error objects
  • Error middleware
  • Response object for structured API responses
  • Test configuration and coverage using Vitest
  • Common scripts to run and test your APIs
  • Hot-reloading for development

Prerequisites

  • Node.js 20 or higher
  • npm, pnpm or yarn
  • Docker (optional)

Getting Started

Local Development

  1. Install dependencies:
npm install
  1. Start development server:
npm run dev:local

The server will start on http://localhost:3000 with hot-reloading enabled.

Production Build

npm run build:prod
npm run prod:serve

Scripts

  • npm run dev:local - Start local development server with hot-reload
  • npm run build:prod - Build for production
  • npm run prod:serve - Run production server
  • npm run test - Run tests
  • npm run coverage - Run tests with coverage report

License

MIT

About

๐Ÿš€ Minimal Express.js boilerplate with TypeScript. A lightweight, production-ready Express.js + TypeScript starter template. Includes minimal setup, structured project architecture, and essential configurations to kickstart your backend service effortlessly.

Topics

Resources

License

Stars

Watchers

Forks