Skip to content

Oridak771/AirDz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AirDZ

AirDZ is a web application inspired by Airbnb, designed specifically for Algeria. It features a unique black-and-white design and is built using the MERN stack (MongoDB, Express.js, React.js, Node.js). The application integrates Stripe for secure payment processing.

Features

  • Room Booking: Users can book rooms with ease.
  • Host Management: Hosts can manage their room listings and bookings.
  • User Authentication: Secure user authentication and authorization.
  • Stripe Integration: Seamless payment processing using Stripe.
  • Modern Design: A sleek black-and-white design tailored for a unique user experience.

Tech Stack

  • Frontend: React.js
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • Payment Gateway: Stripe

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/airdz.git
  2. Navigate to the project directory:
    cd airdz
  3. Install dependencies for both the server and client:
    npm install
    cd client
    npm install
  4. Create a .env file in the root directory and add the following environment variables:
    STRIPE_API_KEY=your_stripe_api_key
    MONGO_URI=your_mongodb_connection_string
  5. Start the development server:
    npm run dev

Usage

  • Navigate to http://localhost:3000 to access the application.
  • Users can browse available rooms, book them, and manage their bookings.
  • Hosts can list their rooms and view/manage bookings.

Folder Structure

  • server.js: Entry point for the backend server.
  • db.js: Database connection setup.
  • models/: Contains Mongoose models for Booking, Room, and User.
  • routes/: API routes for bookings, rooms, and users.
  • client/: React frontend application.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

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

Acknowledgments

  • Inspired by Airbnb.
  • Developed with ❤️ for Algeria's tourism potential.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published