Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 2.27 KB

README.md

File metadata and controls

40 lines (28 loc) · 2.27 KB

Full Stack MERN Blog App Example Project

A fully functional example project showing how to create a blog application using the MERN stack and deploy it to a cloud platform!

This project demonstrates how to build a comprehensive blog application where users can authenticate, view, and upload posts. Every part of this project includes sample code to showcase the following:

  • Create a responsive and dynamic blog platform using the MERN (MongoDB, Express.js, React.js, Node.js) stack.
  • Implement secure user authentication with JWT and bcrypt.
  • Develop RESTful APIs with Express.js for CRUD operations.
  • Manage data efficiently with MongoDB.
  • Deploy the application to a cloud platform for high availability and scalability.

Features

  1. User Authentication: Secure user registration and login.
  2. Viewing Posts: User-friendly interface to browse and read blog posts.
  3. Uploading Posts: Authenticated users can create, edit, and delete their own posts, complete with image uploads and rich text formatting.
  4. Backend Development: Robust RESTful APIs for seamless frontend-backend interaction.
  5. Database Management: Efficient data storage, retrieval, and management with MongoDB.
  6. Deployment: High availability and scalability ensured through cloud deployment. Security Measures: Input validation, password hashing, and secure API endpoints.

How to Install This Example MERN Project on Your Local Machine

The easiest way to see how this works is to follow these steps:

  1. Clone this project: Use this command to clone the project - git clone https://github.com/AkshayEddula/FullStackMernBlog.git
  2. Set up a local environment:
    • Install Node.js and MongoDB on your local machine.
    • Set up environment variables as needed.
  3. Install dependencies: use npm install in both client and server folders
  4. Run the application: npm run dev for frontend and nodemon server.js for backend

How to Tweak This Project for Your Own Uses

Since this is an example project, I encourage you to clone and rename this project to use for your own purposes. It's a good starter boilerplate.

Find a Bug?

If you found an issue or would like to submit an improvement to this project, please submit an issue using the issues tab. If you would like to submit a PR with a fix, reference the issue you created!