├── README.md ├── client ├── README.md ├── package-lock.json ├── package.json ├── public │ ├── _redirects │ ├── favicon.ico │ ├── index.html │ ├── logo192.png │ ├── logo512.png │ ├── manifest.json │ └── robots.txt ├── src │ ├── App.css │ ├── App.js │ ├── App.test.js │ ├── components │ │ ├── form.jsx │ │ ├── header.jsx │ │ ├── hotelcard.jsx │ │ ├── hotellist.jsx │ │ ├── input.jsx │ │ ├── loader.jsx │ │ ├── navbar.jsx │ │ └── room-carousel.jsx │ ├── config.json │ ├── img │ │ ├── undraw_posting_photo.svg │ │ ├── undraw_profile.svg │ │ ├── undraw_profile_1.svg │ │ ├── undraw_profile_2.svg │ │ ├── undraw_profile_3.svg │ │ └── undraw_rocket.svg │ ├── index.css │ ├── index.js │ ├── logo.svg │ ├── reportWebVitals.js │ ├── routes │ │ ├── addrooms.jsx │ │ ├── admin-home.jsx │ │ ├── allbookings.jsx │ │ ├── allrooms.jsx │ │ ├── allusers.jsx │ │ ├── dashboard.jsx │ │ ├── forgot-password.jsx │ │ ├── home.jsx │ │ ├── login.jsx │ │ ├── logout.jsx │ │ ├── not-found.jsx │ │ ├── profile-details.jsx │ │ ├── profile.jsx │ │ ├── reset-password.jsx │ │ ├── roomdetails.jsx │ │ ├── signup.jsx │ │ ├── user-bookings.jsx │ │ └── verify-email.jsx │ ├── services │ │ ├── authService.js │ │ ├── bookingService.js │ │ ├── currentUserService.js │ │ ├── forgot-password.js │ │ ├── httpService.js │ │ ├── reset-password.js │ │ ├── roomService.js │ │ └── userService.js │ ├── setupTests.js │ └── utils │ │ ├── availlable-room.js │ │ ├── search-room.js │ │ └── type-room.js └── yarn.lock └── server ├── app.js ├── middleware └── auth.js ├── models ├── booking.js ├── room.js └── user.js ├── package-lock.json ├── package.json └── routes ├── auth.js ├── bookings.js ├── forgot-password.js ├── reset-password.js ├── rooms.js └── users.js /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/README.md -------------------------------------------------------------------------------- /client/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/README.md -------------------------------------------------------------------------------- /client/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/package-lock.json -------------------------------------------------------------------------------- /client/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/package.json -------------------------------------------------------------------------------- /client/public/_redirects: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/public/_redirects -------------------------------------------------------------------------------- /client/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/public/favicon.ico -------------------------------------------------------------------------------- /client/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/public/index.html -------------------------------------------------------------------------------- /client/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/public/logo192.png -------------------------------------------------------------------------------- /client/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/public/logo512.png -------------------------------------------------------------------------------- /client/public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/public/manifest.json -------------------------------------------------------------------------------- /client/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/public/robots.txt -------------------------------------------------------------------------------- /client/src/App.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/App.css -------------------------------------------------------------------------------- /client/src/App.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/App.js -------------------------------------------------------------------------------- /client/src/App.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/App.test.js -------------------------------------------------------------------------------- /client/src/components/form.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/components/form.jsx -------------------------------------------------------------------------------- /client/src/components/header.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/components/header.jsx -------------------------------------------------------------------------------- /client/src/components/hotelcard.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/components/hotelcard.jsx -------------------------------------------------------------------------------- /client/src/components/hotellist.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/components/hotellist.jsx -------------------------------------------------------------------------------- /client/src/components/input.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/components/input.jsx -------------------------------------------------------------------------------- /client/src/components/loader.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/components/loader.jsx -------------------------------------------------------------------------------- /client/src/components/navbar.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/components/navbar.jsx -------------------------------------------------------------------------------- /client/src/components/room-carousel.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/components/room-carousel.jsx -------------------------------------------------------------------------------- /client/src/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/config.json -------------------------------------------------------------------------------- /client/src/img/undraw_posting_photo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/img/undraw_posting_photo.svg -------------------------------------------------------------------------------- /client/src/img/undraw_profile.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/img/undraw_profile.svg -------------------------------------------------------------------------------- /client/src/img/undraw_profile_1.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/img/undraw_profile_1.svg -------------------------------------------------------------------------------- /client/src/img/undraw_profile_2.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/img/undraw_profile_2.svg -------------------------------------------------------------------------------- /client/src/img/undraw_profile_3.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/img/undraw_profile_3.svg -------------------------------------------------------------------------------- /client/src/img/undraw_rocket.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/img/undraw_rocket.svg -------------------------------------------------------------------------------- /client/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/index.css -------------------------------------------------------------------------------- /client/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/index.js -------------------------------------------------------------------------------- /client/src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/logo.svg -------------------------------------------------------------------------------- /client/src/reportWebVitals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/reportWebVitals.js -------------------------------------------------------------------------------- /client/src/routes/addrooms.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/addrooms.jsx -------------------------------------------------------------------------------- /client/src/routes/admin-home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/admin-home.jsx -------------------------------------------------------------------------------- /client/src/routes/allbookings.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/allbookings.jsx -------------------------------------------------------------------------------- /client/src/routes/allrooms.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/allrooms.jsx -------------------------------------------------------------------------------- /client/src/routes/allusers.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/allusers.jsx -------------------------------------------------------------------------------- /client/src/routes/dashboard.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/dashboard.jsx -------------------------------------------------------------------------------- /client/src/routes/forgot-password.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/forgot-password.jsx -------------------------------------------------------------------------------- /client/src/routes/home.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/home.jsx -------------------------------------------------------------------------------- /client/src/routes/login.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/login.jsx -------------------------------------------------------------------------------- /client/src/routes/logout.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/logout.jsx -------------------------------------------------------------------------------- /client/src/routes/not-found.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/not-found.jsx -------------------------------------------------------------------------------- /client/src/routes/profile-details.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/profile-details.jsx -------------------------------------------------------------------------------- /client/src/routes/profile.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/profile.jsx -------------------------------------------------------------------------------- /client/src/routes/reset-password.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/reset-password.jsx -------------------------------------------------------------------------------- /client/src/routes/roomdetails.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/roomdetails.jsx -------------------------------------------------------------------------------- /client/src/routes/signup.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/signup.jsx -------------------------------------------------------------------------------- /client/src/routes/user-bookings.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/user-bookings.jsx -------------------------------------------------------------------------------- /client/src/routes/verify-email.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/routes/verify-email.jsx -------------------------------------------------------------------------------- /client/src/services/authService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/services/authService.js -------------------------------------------------------------------------------- /client/src/services/bookingService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/services/bookingService.js -------------------------------------------------------------------------------- /client/src/services/currentUserService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/services/currentUserService.js -------------------------------------------------------------------------------- /client/src/services/forgot-password.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/services/forgot-password.js -------------------------------------------------------------------------------- /client/src/services/httpService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/services/httpService.js -------------------------------------------------------------------------------- /client/src/services/reset-password.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/services/reset-password.js -------------------------------------------------------------------------------- /client/src/services/roomService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/services/roomService.js -------------------------------------------------------------------------------- /client/src/services/userService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/services/userService.js -------------------------------------------------------------------------------- /client/src/setupTests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/setupTests.js -------------------------------------------------------------------------------- /client/src/utils/availlable-room.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/utils/availlable-room.js -------------------------------------------------------------------------------- /client/src/utils/search-room.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/utils/search-room.js -------------------------------------------------------------------------------- /client/src/utils/type-room.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/src/utils/type-room.js -------------------------------------------------------------------------------- /client/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/client/yarn.lock -------------------------------------------------------------------------------- /server/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/server/app.js -------------------------------------------------------------------------------- /server/middleware/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/server/middleware/auth.js -------------------------------------------------------------------------------- /server/models/booking.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/server/models/booking.js -------------------------------------------------------------------------------- /server/models/room.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/server/models/room.js -------------------------------------------------------------------------------- /server/models/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/server/models/user.js -------------------------------------------------------------------------------- /server/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/server/package-lock.json -------------------------------------------------------------------------------- /server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/server/package.json -------------------------------------------------------------------------------- /server/routes/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/server/routes/auth.js -------------------------------------------------------------------------------- /server/routes/bookings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/server/routes/bookings.js -------------------------------------------------------------------------------- /server/routes/forgot-password.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/server/routes/forgot-password.js -------------------------------------------------------------------------------- /server/routes/reset-password.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/server/routes/reset-password.js -------------------------------------------------------------------------------- /server/routes/rooms.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/server/routes/rooms.js -------------------------------------------------------------------------------- /server/routes/users.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pokemon918/MERN-Hotel-Room-Booker/HEAD/server/routes/users.js --------------------------------------------------------------------------------