/TypeScript-Node.js-REST-example

Node.ts - TypeScript Node.js REST example

Primary LanguageTypeScript

Node.ts

TypeScript Node.js REST example

Node.ts uses Typescript, Node.js, Express and MongoDB.

Running Locally

Make sure you have Node.js and gulp installed.

Tip

Install gulp using npm install -g gulp command.

Use nodemon to have your server restart on file changes. Install nodemon using npm install -g nodemon.

Then start your server with nodemon index.js.

npm i
gulp build
npm start

Your app should now be running on localhost:3500.

Configuration

Create .env file in root directory using .env.example file.

Run Test.

Run test using npm test command.