Welcome to MyPlaces, a full-stack web application where users can sign in, log in, and share their favorite places with descriptions, addresses, and pictures.
- User Authentication: Secure user authentication system allows users to sign up and log in securely.
- Add Places: Users can add multiple places with details like name, description, address, and a picture.
- Edit and Delete: Users can edit and delete the places they have added.
- View All Places: All users can view the list of places shared by the community.
- Responsive Design: The application is designed to be responsive and works seamlessly across devices of all sizes.
- MongoDB: Database to store user information and place details.
- Express.js: Backend framework for handling HTTP requests and routing.
- React.js: Frontend library for building user interfaces.
- Node.js: JavaScript runtime environment for server-side logic.
- Mongoose: Elegant MongoDB object modeling for Node.js.
- JWT: JSON Web Tokens for secure authentication.
- Multer: Middleware for handling multipart/form-data (used for uploading pictures).
- Material-UI: React components for a sleek and modern UI design.
- Clone the repositories:
- Frontend:
git clone https://github.com/hafiz1379/mern-project-frontend.git
- Backend:
git clone https://github.com/hafiz1379/mern-project-backend.git
- Frontend:
- Install dependencies:
- Frontend:
npm install
- Backend:
npm install
- Frontend:
- Set up environment variables:
- Create a
.env
file in thebackend
directory. - Define the following variables:
PORT=5000 MONGODB_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret
- Create a
- Start the development servers:
- Frontend:
npm start
- Backend:
npm start
- Frontend:
You can check out a live demo of the application here.
You can find the backend repository here.
Contributions are welcome! If you'd like to contribute to this project, please fork the respective repositories and create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
👤 Hafizullah Rasa
- GitHub: Hafiz Rasa
- LinkedIn: Hafiz Rasa