This PR introduces support for fetching WhitePapers data from a JSON server, replacing the previous static import of WhitePapers data. The changes include:
Implemented JSON Server for WhitePapers
Set up a local JSON server to provide dynamic WhitePapers data.
Updated the WhitePapers page to fetch WhitePapers data from the local server (http://localhost:5000/whitepapers)
WhitePapers Page Updates:
Refactored the WhitePapers component to retrieve and display WhitePapers via the JSON server instead of a static whitepapers import.
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 WhitePapers data from a JSON server, replacing the previous static import of WhitePapers data. The changes include:
Implemented JSON Server for WhitePapers
http://localhost:5000/whitepapers
)WhitePapers Page Updates:
whitepapers
import.Related Issue:
Closes #493
How to Test:
Checklist
Please confirm the following: