Skip to content

jflam0529/My_blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Blog Project

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.

Features

  • View a list of blog posts
  • Read individual blog posts
  • Leave comments on blog posts
  • Like blog posts
  • Responsive design

Technologies Used

  • Backend: Node.js, Express
  • Frontend: React, React Router
  • Data Storage: JSON files (for simplicity; consider using a database for production)
  • Styling: CSS

Installation

  1. Clone the repository:

    git clone https://github.com/jflam0529/My_blog.git
    cd my-blog-project
  2. Install backend dependencies:

    cd backend
    npm install
  3. Install frontend dependencies:

    cd ../src
    npm install
  4. Start the backend server:

    cd ../backend
    node index.js
  5. Start the frontend development server:

    cd ../src
    npm start
  6. Open your browser and visit:

    http://localhost:3000
    

Usage

  • 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.

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/your-feature-name.
  3. Make your changes and commit them: git commit -m 'Add some feature'.
  4. Push to the branch: git push origin feature/your-feature-name.
  5. Open a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

If you have any questions or suggestions, feel free to reach out to me at [[email protected]].

About

Using React+Node.js to create a blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published