Giter VIP home page Giter VIP logo

hafiz1379 / mern-project-backend Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.85 MB

MyPlaces—a comprehensive web app enabling users to sign up, log in, and effortlessly share their beloved destinations. Share detailed descriptions, addresses, and captivating pictures of your favorite spots with ease.

License: MIT License

JavaScript 100.00%
axios bcryptjs body-parser express-validator jsonwebtoken mongoose mongoose-unique-validator multer nodemon restful-api uuid

mern-project-backend's Introduction

MyPlaces - Share Your Favorite Spots!

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.

Table of Contents

Features

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

Technologies Used

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

Installation

  1. 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
  2. Install dependencies:
    • Frontend: npm install
    • Backend: npm install
  3. Set up environment variables:
    • Create a .env file in the backend directory.
    • Define the following variables:
      PORT=5000
      MONGODB_URI=your_mongodb_connection_string
      JWT_SECRET=your_jwt_secret
      
  4. Start the development servers:
    • Frontend: npm start
    • Backend: npm start

Live Demo

You can check out a live demo of the application here.

Screenshots

Login All Users Add PLace My Places

Frontend Repository

You can find the frontend repository here.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please fork the respective repositories and create a pull request.

License

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

Author

👤 Hafizullah Rasa

mern-project-backend's People

Contributors

hafiz1379 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.