
A hotel booking app has been developed to enable users to browse and make reservations at various hotels
View Demo
·
See Live
Table of Contents
- This Project is a hotel booking app has been developed to enable users to browse and make reservations at various hotels.
- Data is pulled from popular Hotels Websites.
- Project is built with new nextjs server action technology,and combined mix of ssg, streaming ssr, and csr.
- Project is come with fully featured dashboard.
- Project is fully responsive and support light and dark mode.
The app's authentication system, powered by NextAuth, features multi-role authorization, with distinct roles assigned to users. Specifically, there are two roles: "user" and "admin". The "admin" role grants access to the dashboard, providing privileged functionality within the application.
- Email and Password
- Github
Example: Login
App is built with server action, so there is no need for an API only utilize Prisma as database ORM.
Modern UI and experience.
Responsive design.
Fully featured dashboard let you able to manage your hotels and reservations. the dashboard consist of different pages which you can access from navigation bar. Dashboard Tables support pagination, sorting and complex filters. Utilize nuqs for URL state management to save state in URL. You can do CRUD operations on everything with modern UI like steps, Drag and Drop and many more.
- Node.js
- npm or pnpm
- postgres database
- Clone the repo
git clone https://github.com/Elalfy74/hotel-booking
- Install NPM packages
pnpm i
- Rename 'env.example' to 'env.local'
- Configure .env Variables replace default values with your own
- Setup Prisma
npx prisma db push && npx prisma generate
- Start the project
pnpm dev
Mahmoud Elalfy - @Mahmoudelalfy74 - @Portfolio - @LinkedIn
Project Link: Hotel Booking