This is a simple React blog application that allows users to write and manage their blogs. It utilizes React's state management, hooks, and reducers to provide a user-friendly interface for creating and deleting blogs.
Check out the live demo of the React Blog component here: Demo
- Add a new blog with a title and content.
- Delete blogs individually.
- Automatically set the document title to the latest blog title.
Follow these instructions to get a copy of the project up and running on your local machine.
-
Clone the repository:
git clone https://github.com/aman-q/blogApp.git
1.Navigate to the project directory:
cd blogApp
2Install the project dependencies:
npm install #or yarn install
1.Start the development server:
npm start #or yarn start
2.Open your web browser and visit http://localhost:3000 to access the React Blog Application.
3.You can start writing blogs by entering a title and content in the respective fields and clicking the "ADD" button.
4.To delete a blog, click the "Delete" button next to the blog you want to remove.
5.The document title will automatically be updated with the title of the latest blog.
If you'd like to contribute to this project, please follow these guidelines:
1.Fork the repository on GitHub.
2.Create a new branch with a descriptive name.
3.Commit your changes and push them to your fork.
4.Submit a pull request with a clear description of your changes.