The Dojo Blog is a simple blogging platform built using React. It allows users to create, view, and manage blog posts. This project demonstrates routing with React Router, component-based architecture, and state management.
- Home Page: View a list of all blog posts.
- Create Post: Add new blog posts using a form.
- Blog Details: View a single blog post by ID.
- 404 Page: A custom "Not Found" page for invalid routes.
App.js
: The main component that sets up routing between different pages.Navbar.js
: The navigation bar for easy access to pages.Home.js
: Displays a list of all blog posts.Create.js
: A form component to add new blogs.BlogId.js
: Fetches and displays a specific blog post using its ID.Notfound.js
: A component for displaying a 404 error when a route is invalid.
- React: For building the user interface.
- React Router: For handling routing between different pages.
- CSS: For styling the components.
Note: Add screenshots to a /screenshots
folder in your project, and reference them in the README like above.
- Clone the repository.
git clone https://github.com/ZakariaMerghmi/dojo-blog.git
This project is licensed under the MIT License - see the LICENSE file for details.
For any inquiries, please contact (mailto:merghmizakaria@gmail.com).
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify "# Dojo-blog"