/Oyo-Clone

Primary LanguageJavaScript

🏨 OYO Clone

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.

Table of Contents

  • Features
  • Getting Started
  • Technologies Used
  • Project Structure
  • Contributing
  • License

Features

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.

Getting Started

Prerequisites

Make sure you have the following installed on your machine:

  • Node.js and npm
  • Git
  • MongoDB

Installation

  1. Clone the repository:

    git clone https://github.com/AbhisekhNayek/Oyo-clone.git
  2. Change into the project directory:

    cd Oyo-clone
  3. Install dependencies:

    npm install
  4. Run the development server:

    npm run dev
  5. Open your browser and visit http://localhost:3000 to view the application.

Configuration

MongoDB Setup

  1. Install MongoDB: Make sure you have MongoDB installed on your machine. Download and install it from the official MongoDB website.

  2. 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.

  3. 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

Technologies Used

  • Next.js
  • React
  • Tailwind CSS
  • MongoDB
  • RazorPay

Project Structure

next-oyo-clone/
|-- public/
|-- src/
|   |-- components/
|   |-- pages/
|   |-- styles/
|-- .gitignore
|-- package.json
|-- README.md
|-- [Other project files]

Contributing

If you'd like to contribute, please fork the repository and create a new branch. Pull requests are welcome.

License

This project is licensed under the MIT License.