This project was bootstrapped with Create React App.
You need to install json-server globally with below command > Json Server
npm i -g json-server
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:9000 to view it in the browser.
I've added a web.config.js
file to change port of the project so it'll be available on port 9000.
you can change the port if desired.
The page will reload if you make edits.
You will also see any lint errors in the console.
Runs the script with another terminal. This will execute json-server --watch
command file to expose API endpoint for provided json file.
This project is made with create-react-app
to showcase how much I am familiar with React
.
I've added data fetching using API calls to get data from given json file using json-server
package along with axios
.
- React > v18
- Antd > for UI elements
- TailwindCSS > as CSS utility
- React router dom > for page navigation
- axios > for API call
- json-server > to create API endpoints
If you had anything to say reach out to me with my personal email address [email protected]
.
Thank you!