This project consists of a hotel booking website and an admin dashboard. The website allows users to search for hotels by location, view room details, and make reservations based on selected dates. The admin dashboard provides authentication for administrators to manage room data, hotel data, user data, and booking data.
- User authentication: Users can register, log in, and manage their profiles.
- Hotel search: Users can search for hotels based on location and view available rooms.
- Room reservation: Users can choose rooms and make reservations based on selected dates.
- User dashboard: Users can manage their bookings and account information.
- Admin authentication: Administrators can log in and access the dashboard.
- Manage room data: Administrators can create, update, and delete room data such as room types, availability, and pricing.
- Manage hotel data: Administrators can add, edit, and remove hotel location, facilities, and contact information.
- Manage user data: Administrators have the ability to view and manage user profiles and bookings.
- Manage booking data: Administrators can view and handle booking details, including reservations and payment status.
- Frontend: React (for frontend UI)
- Backend: Node.js, Express ,Prisma
- Database: MongoDB
- Authentication: JSON Web Tokens (JWT)
- Other: Materail UI,SCSS
- Clone the repository from [repository link].
- Install dependencies using
npm install
in the project api , admin and client directories. - Set up the database and configure the connection in the backend.
- Start the server and client using
npm start
in the respective directories.
-
For Users:
-
Access the website and register or log in.
-
Search for hotels by location and select rooms for reservation based on dates.
-
Manage bookings and profile details in the user dashboard.
-
For Administrators:
-
Log in to the admin dashboard.
-
Manage room, hotel, user, and booking data as per the requirements.
- [Link to live demo]
- [Documentation link]
- [Contribution guidelines]
We welcome contributions! Please refer to the contribution guidelines for details on how to get involved.
This project is licensed under the [License Name] License - see the [LICENSE.md] file for details.