Prasoon Soni

All projects

express-ts-starter

The Node + Express starter, now type-safe with TypeScript.

Source code

Overview

A TypeScript-first boilerplate for Node/Express APIs — tsconfig, a typed source structure, Mongoose integration, and JWT auth scaffolding — for teams who want types from the first commit.

The problem

Starting an Express project in TypeScript means fiddling with tsconfig, types, and build setup. This template makes a type-safe backend a clone away.

Approach

TypeScript from the start

tsconfig, global type declarations, and a typed src structure ship in the box, so the project is type-safe on the first commit.

Data + auth scaffolding

Mongoose (MongoDB) and JWT wiring are included, matching the JavaScript starter feature-for-feature.

Formatting baked in

A Prettier config keeps style consistent across the codebase.

Highlights

  • TypeScript-first Express setup
  • Mongoose + JWT scaffolding
  • tsconfig + Prettier preconfigured
  • Clone-and-go

Stack

Node.js, Express.js, TypeScript, MongoDB, JWT