This Booking App for hôtels réservation, created using MERN stack.
- Using JWTs as an authentication mechanism.
- using middlewares top check if the user how try to some operations is authenticated or is admin.
- Admin can add, delete, update & show all his Users.
- Get : all hotels, hotel by ID, by Name.
- Add, delete, Update hotel (only for admin).
- SHOW LIST OF CITIES BY NUMBER OF HOTELS INSIDE EVRY City.
- Get hotels by City Name.
- When user rate hotel save rating and update hotel rating number. =>if that user is Rate that hotel before send an error responce to client.
- Add room to specific hotel, get room by id, get all rooms of specihic hotel, get Single room.
- Delete, update ROOM OF SPECIFIC Hotel.
- UPDATE ROOM AVAILABILITY.
- show available dates for evry hotel Rooms. ...
- Login & Register using regex for testing User Inputs(Email, Phone, Password... ).
- Logout and Profile Page.
- Add, delete Contact.
- User can add Rating number under certain condition. 5.show list of hotels in same place + available dates between date1 and date 2 + ...
- Update this list of hotels when User fire one of this Inputs (min price, max price and destination).
- Show hotels list by cities rooms => Show room types(Standard,... ) => list of rooms (evry room has à number and unavailable dates array ).
- Filter hotels by stars (1 2 3 4 5), types (Motels, desorts, Inn, Boutique), Price (Descending, Ascending), delete Filter.