Sample code for Restful request with TypeScript
- Download Node.js: https://nodejs.org/en/
- Open Terminal, go to a location where you want to clone the project:
git clone https://github.com/ZhuQinglei/REST_DEMO.git
- go to the project folder:
cd REST_DEMO
- Install dependencies:
npm install
- Compile:
webpack
- Run the app by opening index.html in the browser