mern-stack-project

Open in Visual Studio Code

MERN Stack Integration Assignment

This assignment focuses on building a full-stack MERN (MongoDB, Express.js, React.js, Node.js) application that demonstrates seamless integration between front-end and back-end components.

Assignment Overview

You will build a blog application with the following features:

  1. RESTful API with Express.js and MongoDB
  2. React front-end with component architecture
  3. Full CRUD functionality for blog posts
  4. User authentication and authorization
  5. Advanced features like image uploads and comments

Project Structure

mern-blog/
├── client/                 # React front-end
│   ├── public/             # Static files
│   ├── src/                # React source code
│   │   ├── components/     # Reusable components
│   │   ├── pages/          # Page components
│   │   ├── hooks/          # Custom React hooks
│   │   ├── services/       # API services
│   │   ├── context/        # React context providers
│   │   └── App.jsx         # Main application component
│   └── package.json        # Client dependencies
├── server/                 # Express.js back-end
│   ├── config/             # Configuration files
│   ├── controllers/        # Route controllers
│   ├── models/             # Mongoose models
│   ├── routes/             # API routes
│   ├── middleware/         # Custom middleware
│   ├── utils/              # Utility functions
│   ├── server.js           # Main server file
│   └── package.json        # Server dependencies
└── README.md               # Project documentation

Getting Started

  1. Accept the GitHub Classroom assignment invitation
  2. Clone your personal repository that was created by GitHub Classroom
  3. Follow the setup instructions in the Week4-Assignment.md file
  4. Complete the tasks outlined in the assignment

Files Included

Requirements

Submission

Your work will be automatically submitted when you push to your GitHub Classroom repository. Make sure to:

  1. Complete both the client and server portions of the application
  2. Implement all required API endpoints
  3. Create the necessary React components and hooks
  4. Document your API and setup process in the README.md
  5. Include screenshots of your working application

Resources