- Go To Website
π Welcome to the BlogPost website! This project allows you to manage your blogs and Manage a Todo list. Nice thing is that All the data is being updated on Remote
Json-Server
. It's a React Project in which axios Jso-server and many npm modules have been Used
-
Create, edit, search, and delete your blogs.
-
View a list of all blogs on the homepage.
-
Navigate to specific blog details by clicking on a blog.
-
Navidate through UI or ('/newpost') to newpost page create a Blog.
-
To Edit or Delete the Post Navigate to respective Postpage
-
To search the Post type Keyword in Searchbox and press enter.
-
Everything saved on Remote
json server
-
But to Check and Test the Server
npx json-server -p 3500 -w data/db.json`
-
Both Run on same Json Server.
-
Create, edit, check, and delete tasks in the Todo page.
-
Tasks are stored in a local JSON server at
http://localhost:3500/
. -
Everything saved on Remote
json server
-
But to Check and Test the Server
npx json-server -p 3500 -w data/db.json`
-
Search:
- All data is saved On a Fake remote server
-Sample of Data is at
data/db.json
which you can test on Local
-
Clone the repository:
git clone https://github.com/vishalverma9572/BlogPost.git
-
To Download All Dependencies:
npm i
β οΈ Warning: Do Not test on Remote server Change the baseurl of api. Test on Local Server
- To start Local Json server:
npx json-server -p 3500 -w data/db.json
- To start react app:
npm run start
- Create, edit, search, and delete your blogs.
- View a list of all blogs on the homepage.
- Navigate to the homepage (
/
) to view and manage your blogs.
- Navigate to the Todo page (
/mylist
) to create, edit, and manage your tasks.
- React: JavaScript library for building user interfaces.
- React Router: Declarative routing for React.js.
- JSON Server: Fake REST API for testing and prototyping.
- Axios for apirequests
- It has Both axios as well as selfwritten apirequest functions.
- For more Details Refer To package Dependencies
src/
Blogpost/
: React components representing different pages (e.g., Home, About,Newpost) and components.ShoppingList
: React components for ToDo sections of the website.data
: Services for interacting with the JSON server.App.js
: Main application component.
We welcome contributions! Please follow these steps to get started.
- first Fork It From:
https://github.com/vishalverma9572/BlogPost.git
- Clone It
- To geting Started Follow These step:
- To Download All Dependencies:
npm i
β οΈ Warning: Do Not test on Remote server Change the baseurl of api. Test on Local Server
- To start Json server:
npx json-server -p 3500 -w data/db.json
- To start react app:
npm run start
- Find issues or For UI or UX improvement
Make Changes and Generate PR
Feel Free to ask Questions
This project is licensed under the MIT License.
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.
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.
Note: this is a one-way operation. Once you eject
, you can't go back!
If you aren't satisfied with the build tool and configuration choices, you can eject
at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject
will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
You don't have to ever use eject
. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify