Giter VIP home page Giter VIP logo

airbnb's Introduction

Airbnb

This project is bases on home booking , where host can host their homes and guest can book and see their past booking.

Project Type

Fullstack

Deplolyed App

Frontend: https://airbnb-pied-five.vercel.app Backend: https://airbnb-cvee.onrender.com

Directory Structure

backend/
frontend/
โ”œโ”€ ...

Video Walkthrough of the project

https://drive.google.com/file/d/1SKs25Z5r79d4Gj8yFlbgOZk6z4tJm26j/view?usp=sharing

Video Walkthrough of the codebase

https://drive.google.com/file/d/1swbLTJbu6cWIuhwN5VZQck0IksMJIMub/view?usp=sharing

Features

List out the key features of your application.

  • Filtering
  • Booking
  • authenticiation
  • Past booking on user based

Installation & Getting started

Detailed instructions on how to install, configure, and get the project running. For BE/FS projects, guide the reviewer how to check mongodb schema etc.

cd Backend npm install npm run server

cd Frontend npm install npm run start

Credentials

[email protected] 12345 You can also create your own data for login puroose

ER Diagram

https://drive.google.com/file/d/1IIC5R-fmYB4D8ecK8599hHOP5_MlqHhi/view?usp=sharing

API Endpoints

In case of Backend Applications provide a list of your API endpoints, methods, brief descriptions, and examples of request/response.

for host

{ Name:{type:String}, HostStatus:{type:String,default:"Active"}, Location:{type:String}, PropertyType:{type:String,enum:["Apartment","House","Unique Homes"]}, About:{type:String}, HostingSince:{type:Date} }

GET /host - retrieve all host POST /host/add - create a new host Patch /host/update/:_id - update host details Delete /host/delete/:_id - delete hots details

for Guest

{ Name:{type:String}, Email:{type:String}, Password:{type:String},

}

GET /guest - retrieve all guest POST /guest/add - create a new guest Patch /guest/update/:_id - update guest details Delete /guest/delete/:_id - delete guest details

for Property

Property Schema { Name:{type:String}, Location:{type:String}, PropertyType:{type:String,enum:["Apartment","House","Unique Homes"]}, About:{type:String}, Booked:{type:Boolean,default:"false"}, img:{type:String}, Host_id:{type: mongoose.Schema.Types.ObjectId,ref:"Host"} }

GET /property - retrieve all property GET /property?Location=Jamshedpur - retrieve all property in Jamshedpur GET /property?Location=Jamshedpur&PropertyType=Home - retrieve all property in Jamshedpur, which are home GET /property?PropertyType=Home - retrieve all property, whoose gategory is home POST /property/add - create a new propert ,In Property type you can only add these values Apartment","House","Unique Homes Patch /property/update/:_id - update property details Delete /property/delete/:_id - delete property details

for booking

{ Name:{type:String}, Paid:{type:Boolean,default:"true"}, Property_id:{type:mongoose.Schema.Types.ObjectId,ref:"Property"} , Guest_id:{type: mongoose.Schema.Types.ObjectId,ref:"Guest"}, start_date:{type:Date}, end_date:{type:Date}, img:{type:String}

}

GET /booking - retrieve all booking POST /booking/add - create a new booking Patch /booking/update/:_id - update booking details Delete /booking/delete/:_id - delete booking details

Technology Stack

List and provide a brief overview of the technologies used in the project.

  • Node.js
  • Express.js
  • MongoDB
  • React
  • CSS

airbnb's People

Contributors

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