Skip to content

ctismehmetbulut/express-ts

Repository files navigation

Express.js with TypeScript Starter

This repository provides a boilerplate for building a backend application using Express.js with TypeScript. It includes modern tools and best practices, allowing developers to start building their applications quickly and efficiently.

Features

  • Express.js: Fast, unopinionated, minimalist web framework for Node.js.
  • TypeScript: Strongly typed programming language that builds on JavaScript.
  • esbuild: An extremely fast JavaScript bundler and minifier.
  • Prettier: An opinionated code formatter to maintain code style consistency.
  • ESLint: A pluggable linting utility for JavaScript and TypeScript.

Getting Started

Prerequisites

  • Node.js (>= 20.x)
  • pnpm

Installation

Install dependencies:

pnpm install

Running the Application

  1. Development mode:

    pnpm run dev

    The application will start in development mode with hot-reloading enabled.

  2. Production mode:

    pnpm run build
    pnpm run start

    The application will be built and started in production mode.# Express.js with TypeScript Starter

This repository provides a boilerplate for building a backend application using Express.js with TypeScript. It includes modern tools and best practices, allowing developers to start building their applications quickly and efficiently.