My Typescript web app template
- Install node.js and npm
- Install gulp-cli using
npm install --global gulp-cli - Clone this repository ether using git or downloading the zip and unzipping it
- Write your code under
src/src/client/index.tsis the main file loaded bysrc/static/index.htmlsrc/server/index.tscontains a small server for serving static contentsrc/static/index.htmlis the default web page served
- Run the development environment using
gulp develop - Profit.
- Compile all files without running the server using
gulp - Run the server as a stand-alone application using 'node dist`