A full-stack web application that replicates the core functionalities of Airbnb, allowing users to browse property listings, view detailed information, and book accommodations.
This project is currently in active development. The backend infrastructure and database models are being built.
- Backend server setup with Express.js
- MongoDB database integration
- Basic project structure and routing
- React - UI library for building interactive interfaces
- React Router - Client-side routing and navigation
- Bootstrap CSS - Responsive design and styling
- Node.js - JavaScript runtime environment
- Express.js - Web application framework
- MongoDB - NoSQL database for data storage
- Mongoose - MongoDB object modeling tool
- JWT (JSON Web Tokens) - Secure user authentication
Before running this project, ensure you have:
-
Clone the repository
git clone https://github.com/azhacke/Air-BNB.git cd Air-BNB
-
Install dependencies
npm install
-
Set up MongoDB
# Initialize the database with seed data cd init node index.js cd ..
-
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
-
Start the development server
# Using nodemon for auto-restart nodemon app.js # Or using standard node node app.js
-
Access the application
Open your browser and navigate to
http://localhost:5001
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
- 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)
if you face any problem you can message me on linkedin here