Skip to content
A minimal boilerplate for Typescript, Express and Webpack
TypeScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
nodemon.json
package.json
tsconfig.json
webpack.config.ts

README.md

Introduction

  • This boilerplate uses TypeScript 2.9, Express 4, and Webpack 4 to print a "hello world" on the port 3001.
  • For development, it uses nodemon to monitor source file changes.
  • For production, it uses webpack to bundle source files.

Installation

  • npm install -g nodemon ts-node typescript
  • npm install
  • npm start for development; npm run build for production

Rationale

  • Minimal: Only include necessary packages and settings to print a "hello world".
  • Hot reload: Use nodemon instead of webpack HMR since nodemon is much easier and more flexible.
You can’t perform that action at this time.