Skip to content

Files

Latest commit

ccb75c3 · May 7, 2021

History

History
57 lines (36 loc) · 691 Bytes

README.md

File metadata and controls

57 lines (36 loc) · 691 Bytes

Building RESTful Web APIs with Node.js, Express and TypeScript

This is a simple "Hello World!" rest-api application.

Prerequisites

* npm 6+
* node.js 10+

Clone this repository

git clone https://github.com/AditechGH/nodejs-typescript-application.git .

Then install the dependencies

npm install

compiling the code

npm run build

Start the server

Run in development mode

npm run dev

Run in test mode

npm run test

Run in production mode

npm run prod

Testing over HTTP

The default URL is: http://localhost:8080

  • Print Hello World
Send GET request to http://localhost:8080/api/v1/helloWorld