A React App that uses a fake REST API from json-server to display employees details.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Runs the json-server
Open http://localhost:5000/employees to view json data in your browser.
Use:
fetch(`http://localhost:5000/employees`)
Use:
fetch(`http://localhost:5000/employees/${id}`)