An Airbnb clone web application built using React.js, MongoDB, Express.js, Node.js, and Tailwind CSS.
- User authentication and authorization
- Property listing and search functionality
- Booking management
- Review system
- User profiles
- Payment integration
- React.js: A JavaScript library for building user interfaces.
- MongoDB: A NoSQL database for storing property and user data.
- Express.js: A web application framework for Node.js used for building the server-side application.
- Node.js: A JavaScript runtime environment for running JavaScript on the server.
- Tailwind CSS: A utility-first CSS framework for styling the user interface.
Follow the instructions below to get the project up and running on your local machine.
- Node.js (v12 or higher)
- MongoDB
-
Clone the repository:
git clone https://github.com/your-username/airbnb-clone.git cd airbnb-clone
-
Install the server dependencies:
cd server npm install
-
Set up the environment variables:
- Create a
.env
file in theserver
directory. - Add the following environment variables and replace the values with your own:
MONGO_URL=your_mongodb_uri
- Create a
-
*Install the client dependencies:
cd ../client npm install
-
Set up Tailwind CSS:
npm run tailwind:build
-
Start the development server:
npm run dev