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.
- 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.
- Frontend: React.js
- Backend: Node.js, Express.js
- Database: MongoDB
- Payment Gateway: Stripe
- Clone the repository:
git clone https://github.com/yourusername/airdz.git
- Navigate to the project directory:
cd airdz - Install dependencies for both the server and client:
npm install cd client npm install - Create a
.envfile in the root directory and add the following environment variables:STRIPE_API_KEY=your_stripe_api_key MONGO_URI=your_mongodb_connection_string
- Start the development server:
npm run dev
- Navigate to
http://localhost:3000to access the application. - Users can browse available rooms, book them, and manage their bookings.
- Hosts can list their rooms and view/manage bookings.
- server.js: Entry point for the backend server.
- db.js: Database connection setup.
- models/: Contains Mongoose models for
Booking,Room, andUser. - routes/: API routes for bookings, rooms, and users.
- client/: React frontend application.
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
- Inspired by Airbnb.
- Developed with ❤️ for Algeria's tourism potential.