Giter Site home page Giter Site logo

aryandurge / airbnb_website Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 323 KB

This is my second MERN Stack project developing AirBnb Like website that can be used for the user to book any hotel or room by login in and select it vice versa can list ay of the property for rentals or bookings

JavaScript 98.86% HTML 0.54% CSS 0.60%

airbnb_website's Introduction


Airbnb Clone

This project is a clone of the popular Airbnb website, built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. It aims to replicate the core features and functionalities of Airbnb, allowing users to browse, search, and book accommodations.

Table of Contents

Features

  • User Authentication: Users can sign up, log in, and log out securely. Authentication is handled using JSON Web Tokens (JWT).
  • Listings: Users can view available accommodations, including details such as price, location, and amenities.
  • Booking: Users can select dates and book accommodations. Booking information is stored securely.
  • Admin Panel: Administrators can manage listings through an intuitive admin panel.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/airbnb-clone.git
  2. Navigate to the project directory:

    cd airbnb-clone
  3. Install dependencies for both the client and server:

    cd client && npm install
    cd ../server && npm install
  4. Set up environment variables:

    • Create a .env file in the server directory.
    • Define the following variables in the .env file:
      PORT=3001
      MONGODB_URI=your_mongodb_uri
      JWT_SECRET=your_jwt_secret
      
  5. Seed the database (optional):

    cd server && npm run seed

Usage

  1. Start the server:

    cd server && npm start
  2. Start the client:

    cd client && npm start
  3. Open your browser and navigate to http://localhost:3000 to access the application.

Technologies Used

  • Frontend:

    • React.js
    • React Router
  • Backend:

    • Node.js
    • Express.js
    • MongoDB
    • Mongoose
  • Authentication:

    • JSON Web Tokens (JWT)

Contributing

Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.

License

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


Feel free to customize this README according to your project's specifics and add any additional information you find relevant.

airbnb_website's People

Contributors

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