/ts-express

💠 Typescript 💎 Express 💠 lightweight starter app with modern dev ergonomics

Primary LanguageTypeScript

💠 TypeScript 💎 Express 💠

Minimal starter kit with modern dev ergonomics

💧🟪🟦🟪🟦🟪🟦🟪🟦🟪💧🟪🟦🟪🟦🟪🟦🟪🟦🟪💧

A minimal git clone for sandbox experiments with Node.js, Typescript and optionally Docker. This is a "Hello world!" Express app, written in Typescript, with modern development ergonomics preconfigured.

  • Typescript type definitions configured for code completion.
  • Source files watched with tsc-watch for efficient reloading of incremental builds.
  • A Dockerfile is included with scripts to build and run the image.

🛰 Setup commands

git clone https://github.com/ZenSoftware/ts-express.git
cd ts-express
npm install
npm start

🔋 Commands

# Start and watch for source changes
npm start
# Build and output to dist directory
npm run build
# Build the Docker image
npm run docker:build
# Run the Docker image
npm run docker:run