This project is a clone of the OYO website built using Next.js, React, and other technologies. It aims to replicate the key features and design of the OYO platform for educational and practice purposes.
- Features
- Getting Started
- Technologies Used
- Project Structure
- Contributing
- License
List of key features of your OYO clone:
- Search and Booking: 🔍🛏️ Search for hotels and book rooms easily.
- User Authentication: 🔐 User authentication for booking and managing reservations.
- Reviews and Ratings: ⭐ View reviews and ratings for hotels and leave feedback.
- Payment Integration: 💳 Integration with payment gateways for secure transactions.
Make sure you have the following installed on your machine:
- Node.js and npm
- Git
- MongoDB
-
Clone the repository:
git clone https://github.com/AbhisekhNayek/Oyo-clone.git
-
Change into the project directory:
cd Oyo-clone
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open your browser and visit http://localhost:3000 to view the application.
-
Install MongoDB: Make sure you have MongoDB installed on your machine. Download and install it from the official MongoDB website.
-
Create a MongoDB Atlas Account (Optional): If you prefer using a cloud-based solution, you can sign up for a free MongoDB Atlas account. MongoDB Atlas is a fully managed cloud database service. Follow the steps on the MongoDB Atlas website to create an account and set up a cluster.
-
Install MongoDB Driver for Node.js: In your Next.js project, you'll need a MongoDB driver to interact with the database. Install it using npm:
npm install mongodb
- Next.js
- React
- Tailwind CSS
- MongoDB
- RazorPay
next-oyo-clone/
|-- public/
|-- src/
| |-- components/
| |-- pages/
| |-- styles/
|-- .gitignore
|-- package.json
|-- README.md
|-- [Other project files]
If you'd like to contribute, please fork the repository and create a new branch. Pull requests are welcome.
This project is licensed under the MIT License.