Skip to content

azhacke/Air-BNB

Repository files navigation

Airbnb Clone

A full-stack web application that replicates the core functionalities of Airbnb, allowing users to browse property listings, view detailed information, and book accommodations.

Project Status License


📋 Current Status

This project is currently in active development. The backend infrastructure and database models are being built.

✅ Completed

  • Backend server setup with Express.js
  • MongoDB database integration
  • Basic project structure and routing

🛠️ Technologies Used

Frontend

  • React - UI library for building interactive interfaces
  • React Router - Client-side routing and navigation
  • Bootstrap CSS - Responsive design and styling

Backend

  • Node.js - JavaScript runtime environment
  • Express.js - Web application framework
  • MongoDB - NoSQL database for data storage
  • Mongoose - MongoDB object modeling tool

Authentication

  • JWT (JSON Web Tokens) - Secure user authentication

🚀 Getting Started

Prerequisites

Before running this project, ensure you have:

  • Node.js (v14 or higher)
  • MongoDB (Atlas account or local instance)
  • npm or yarn package manager

Installation

  1. Clone the repository

    git clone https://github.com/azhacke/Air-BNB.git
    cd Air-BNB
  2. Install dependencies

    npm install
  3. Set up MongoDB

    # Initialize the database with seed data
    cd init
    node index.js
    cd ..
  4. Configure environment variables

    Create a .env file in the root directory:

    PORT=5001
    MONGODB_URI=your_mongodb_connection_string
    JWT_SECRET=your_jwt_secret_key
  5. Start the development server

    # Using nodemon for auto-restart
    nodemon app.js
    
    # Or using standard node
    node app.js
  6. Access the application

    Open your browser and navigate to http://localhost:5001


📁 Project Structure

Air-BNB/
├── init/              # Database initialization scripts
├── models/            # Mongoose schemas
├── routes/            # API routes
├── controllers/       # Route controllers
├── middleware/        # Custom middleware
├── public/            # Static files
├── views/             # Frontend views
├── app.js             # Main application file
└── package.json       # Project dependencies

🔮 Planned Features

  • Property Listings - Browse a wide variety of properties with images, location, pricing, and amenities
  • Advanced Search & Filters - Find the perfect property using powerful search and filtering options
  • Detailed Property Pages - View comprehensive information including maps and host details
  • Booking System - Select dates and book properties with clear cost breakdowns
  • User Authentication - Secure registration and login system to manage bookings and profiles
  • React Frontend - Complete frontend implementation
  • Payment Integration - Stripe for secure transactions
  • Reviews & Ratings - User feedback system
  • Real-time Messaging - Communication between hosts and guests
  • Google Maps Integration - Enhanced location features
  • Deployment - Deploy frontend (Vercel/Netlify) and backend (Render/Railway)

Contact

if you face any problem you can message me on linkedin here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published