Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.72 KB

README.md

File metadata and controls

51 lines (33 loc) · 1.72 KB

Airbnb clone

This is a clone of the Airbnb web application built using MERN stack. It is a full-stack web application that allows users to book accommodations in various locations. This application supports user registration, login and authentication. It also features my accommodations for adding and managing places.

Hosted link: Airbnb clone

Installation

To install and run the application, please follow these steps:

  • Clone the repository to your local machine.
  • Navigate to the project root folder in the terminal
  • Install dependencies using the command yarn.
  • You can either work with MongoDB atlas or use your locally installed MongoDB
  • Create a .env file in your project api folder and add your variables.

env variables

DB_URL=

JWT_SECRET=

JWT_EXPIRY=

COOKIE_TIME=


Features

The application has following features:

  • User authentication and autherization
  • View accommodation details, amenities, and pricing
  • Book an accommodation by selecting check-in and check-out dates
  • View and manage bookings as a registered user
  • Add and manage accommodations as a registered user

Dependencies

This project uses the following dependencies:

  • MongoDB - NoSQL database used to store application data.
  • Express - Node.js framework used to build the server-side of the application.
  • React - JavaScript library used to build the client-side of the application.
  • Node.js - JavaScript runtime used to execute server-side code.
  • Mongoose - Object Data Modeling (ODM) library used to interface with MongoDB.
  • React Router: Declarative routing library for React applications.
  • Axios - Promise based HTTP client for making API requests from the client-side.