This PR introduces support for fetching certifications data from a JSON server, replacing the previous static import of certifications data. The changes include:
Implemented JSON Server for certifications :
Set up a local JSON server to provide dynamic certifications data.
Updated the certifications page to fetch certifications data from the local server (http://localhost:5000/certifications).
certifications Page Updates:
Refactored the certifications component to retrieve and display certifications via the JSON server instead of a static certifications import.
Implemented search and sorting functionality that filters and sorts certifications data fetched from the server.
Changes Made:
Set up a mock JSON server with certifications data in data.json.
Updated certifications component to make GET requests to http://localhost:5000/certifications to fetch and display blogs.
Error handling added for cases where a certifications is not found (404).
Related Issue:
Closes #493
How to Test:
Ensure that the JSON server is running by executing the following command:
npx json-server --watch db.json --port 5000
---
Checklist
Please confirm the following:
[X] My code follows the guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly wherever it was hard to understand.
[X] I have made corresponding changes to the documentation.
[X] My changes generate no new warnings.
[X] I have added things that prove my fix is effective or that my feature works.
fix #493
This PR introduces support for fetching certifications data from a JSON server, replacing the previous static import of certifications data. The changes include:
Implemented JSON Server for certifications :
http://localhost:5000/certifications
).certifications Page Updates:
certifications
import.Changes Made:
data.json
.GET
requests tohttp://localhost:5000/certifications
to fetch and display blogs.Related Issue:
Closes #493
How to Test:
Checklist
Please confirm the following: