Welcome to the My Blog Project! This is a simple full-stack web application that allows users to read blog posts and leave comments. The project is built using Node.js for the backend and React for the frontend.
- View a list of blog posts
- Read individual blog posts
- Leave comments on blog posts
- Like blog posts
- Responsive design
- Backend: Node.js, Express
- Frontend: React, React Router
- Data Storage: JSON files (for simplicity; consider using a database for production)
- Styling: CSS
-
Clone the repository:
git clone https://github.com/jflam0529/My_blog.git cd my-blog-project
-
Install backend dependencies:
cd backend npm install
-
Install frontend dependencies:
cd ../src npm install
-
Start the backend server:
cd ../backend node index.js
-
Start the frontend development server:
cd ../src npm start
-
Open your browser and visit:
http://localhost:3000
- Navigate to the homepage to see a list of blog posts.
- Click on a blog post to read more details.
- Leave comments and like the posts.
- Use the navigation bar to explore different sections of the site.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
. - Make your changes and commit them:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin feature/your-feature-name
. - Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions or suggestions, feel free to reach out to me at [[email protected]].