- clone the repo by
git clone https://github.com/kunjgit/Anglar_API.git
- install dependencies
npm i
- setup API by the steps give below
- if you don't have angular cli just use command
npm install -g @angular/cli
- go inside the repo where your code is there for API and just run it on server
- now open another tab of terminal and run this template by using
ng serve
Take your json file to anywhere you want then install json-server globally from npm
npm install -g json-server
Run API on local
json-server --watch <filename>