Skip to content

henkkuli/web-arm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ts-template

My Typescript web app template

Usage

  • 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 by src/static/index.html
    • src/server/index.ts contains a small server for serving static content
    • src/static/index.html is the default web page served
  • Run the development environment using gulp develop
  • Profit.

Hints

  • Compile all files without running the server using gulp
  • Run the server as a stand-alone application using 'node dist`