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.ts
is the main file loaded bysrc/static/index.html
src/server/index.ts
contains a small server for serving static contentsrc/static/index.html
is 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`