An open API service indexing awesome lists of open source software.

https://github.com/zensoftware/ts-express

💠 Typescript 💎 Express 💠 lightweight starter app with modern dev ergonomics
https://github.com/zensoftware/ts-express

docker express typescript webpack

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 💠 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

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

## 🔋 Commands

```bash
# Start and watch for source changes
npm start
```

```bash
# Build and output to dist directory
npm run build
```

```bash
# Build the Docker image
npm run docker:build
```

```bash
# Run the Docker image
npm run docker:run
```