/sample-typescript-express

This is a simple express server made using TypeScript. It uses gulp to transpile the TypeScript code into JavaScript.

Primary LanguageTypeScript

Simple Express with TypeScript

This is a simple express server made using TypeScript. It uses gulp to transpile the TypeScript code into JavaScript.

CONFIG VARIABLES

Create a local .env file and copy and modify the contents of .env.txt to your local file with the appropriate settings

RUNNING THE APPLICATION

INSTALLING DEPENDENCIES

# Install dependencies
$ npm install

# Build the server
$ npm build

# Run the server
$ npm dev

You can use the npm watch command to have gulp build while you're coding.