Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months ago
JSON representation
A Hotel Booking Website Using Next.js
- Host: GitHub
- URL: https://github.com/Rajkumar-Khatua/Your-Hotel-Hotel-Booking-Using-NEXTJS-
- Owner: Rajkumar-Khatua
- Created: 2024-02-03T07:33:01.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-02-10T03:54:31.000Z (12 months ago)
- Last Synced: 2024-07-30T21:09:45.522Z (6 months ago)
- Topics: 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
- Language: TypeScript
- Homepage: https://yourhotel.vercel.app/
- Size: 865 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/)