https://github.com/kunjgit/angular_api
A template to fetch api in angular using HttpClient module and by using service to fetch the data
https://github.com/kunjgit/angular_api
Last synced: 4 months ago
JSON representation
A template to fetch api in angular using HttpClient module and by using service to fetch the data
- Host: GitHub
- URL: https://github.com/kunjgit/angular_api
- Owner: kunjgit
- Created: 2023-09-12T04:42:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-12T04:58:54.000Z (almost 2 years ago)
- Last Synced: 2025-03-13T20:22:22.945Z (4 months ago)
- Language: TypeScript
- Size: 214 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Steps to run this template in your system
- 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`## Run your Json-server API
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 `