Since Heroku has stopped free hosting, json server has been taken down. Database has been removed currently so no data will be shown.
A Blog website made using React.js which is backed by json server database.
App.js contains all routes for pages
usefetch.js contains main algo to retreive needed data from json database hosted on a json server. useState and useEffect are used to control changes in database and loading of data retreived.
Json server database is used here. Check my repo inked-database for more details.
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.