Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Rajkumar-Khatua/Your-Hotel-Hotel-Booking-Using-NEXTJS-

A Hotel Booking Website Using Next.js
https://github.com/Rajkumar-Khatua/Your-Hotel-Hotel-Booking-Using-NEXTJS-

axios bcrypt cloudinary date-fns fullstack-development google-authentication mongo mongodb next-auth nextjs14 prisma react react-hooks react-hot-toast reactjs tailwind-css typescript world-countries zustand zustandjs

Last synced: about 2 months ago
JSON representation

A Hotel Booking Website Using Next.js

Awesome Lists containing this project

README

        

# Your Hotel

## Description

This is a Hotel Booking Website Like AirBnb where you can book a room for your stay. You can also list your property for rent.

## Features

- User Authentication [Providers: Google, Github, Normal email and password]
- Property Listing
- Property Booking
- Property Management
- Favorite Property
- Property Review
- Map Integration
- Show Reservations
- Calendar View of Reservations

## Technologies

- React
- Next.js
- Node.js
- NextAuth.js
- MongoDB
- Prisma
- Tailwind CSS
- World-Countries
- Axios
- React-spinners
- React-hot-toast
- Zustand (State Management)
- Cloudinary (Image Hosting)
- Bcrypt
- Date-fns
- Typescript
- React-Icons

## Installation

```bash
# Clone the repository
git clone https://github.com/Rajkumar-Khatua/Hotel-Booking-Using-NEXTJS.git
```

Install the dependencies

```bash
# Install the dependencies
npm install
```

Create a .env.local file in the root directory and add the following environment variables

```bash
DATABASE_URL= "your database url"
NEXTAUTH_SECRET = "your next auth secret"
GITHUB_ID="your github id"
GITHUB_SECRET= "github secret"
GOOGLE_ID= "google id "
GOOGLE_SECRET= "google secret"
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME= " cloudinary cloud name"
```

## Usage

```bash
# Run the development server
npm run dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.

## Author

```bash
Rajkumar Khatua
```

## Contact

LinkedIn: [Rajkumar Khatua](https://www.linkedin.com/in/rajkumarkhatua/)

GitHub: [Rajkumar-Khatua](https://github.com/Rajkumar-Khatua/)