express-typescript-starter

Simple web application starter kit to kick start your new project using the Express framework and server-side written in TypeScript.

Prerequisites

  1. Node.js
  2. TypeScript
  3. Git

Usage

# Clone this repository
> git clone https://github.com/johnmakridis/express-typescript-starter.git

# Change directory to downloaded repository folder
> cd path/to/repo/express-typescript-starter

# Install Node modules
> npm install

# Run Grunt task-runner to compile TS files into JS and to copy the necessary folders/files in /dist folder 
> npm run grunt

# Start the web app
Go to /dist folder and run `node app.js` (or `nodemon app.js` if you are using Nodemon module) 

# Visit the demo home page
http://localhost:8080 (you can change the port from .env file)

Demo homepage (if all the above steps followed correctly)
alt text