├── .env ├── .gitignore ├── LICENSE ├── README.md ├── _screenshots ├── 01. Hotel selection.jpg ├── 02. Room & view selection.jpg ├── 03. Payment 1.jpg ├── 04. Payment 2.jpg ├── 05. Payment 3.jpg ├── 06. Success.jpg ├── Check-in validation.jpg ├── Check-out validation.jpg ├── Coupon discounts.jpg ├── Coupon validation.jpg └── Credit card expiry validation.jpg ├── package.json ├── public ├── index.html └── media │ ├── favicons │ ├── android-chrome-192x192.png │ ├── android-chrome-512x512.png │ ├── apple-touch-icon.png │ ├── browserconfig.xml │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── favicon.ico │ ├── mstile-150x150.png │ ├── safari-pinned-tab.svg │ └── site.webmanifest │ └── upload │ ├── room-deluxe.jpg │ ├── room-standard.jpg │ ├── room-suite.jpg │ ├── view-land.jpg │ ├── view-pool.jpg │ └── view-sea.jpg ├── social-preview.jpg ├── src ├── Types │ ├── TypeAppProps.ts │ ├── TypeCartDetails.ts │ ├── TypeCoupon.ts │ ├── TypeHotel.ts │ ├── TypeHotelDetails.ts │ ├── TypeInput.ts │ ├── TypeNewReservation.ts │ ├── TypeReservationStep.ts │ └── TypeStep.ts ├── _api │ ├── coupons-CODE20.json │ ├── coupons.json │ ├── hotel-bookings.json │ ├── hotels-details.json │ └── hotels.json ├── apis.ts ├── components │ ├── Button │ │ ├── Button.module.scss │ │ ├── Button.tsx │ │ └── index.ts │ ├── CreditCard │ │ ├── CreditCard.scss │ │ ├── CreditCard.tsx │ │ └── index.ts │ ├── Form │ │ ├── Form.module.scss │ │ ├── ImageCheckbox │ │ │ ├── ImageCheckbox.module.scss │ │ │ ├── ImageCheckbox.tsx │ │ │ └── index.ts │ │ ├── Select │ │ │ ├── Select.scss │ │ │ ├── Select.tsx │ │ │ └── index.ts │ │ ├── TextField │ │ │ ├── TextField.module.scss │ │ │ ├── TextField.tsx │ │ │ └── index.ts │ │ └── index.ts │ ├── Header │ │ ├── Header.module.scss │ │ ├── Header.tsx │ │ └── index.ts │ ├── Portlet │ │ ├── Portlet.module.scss │ │ ├── Portlet.tsx │ │ └── index.ts │ ├── ProgressIndicators │ │ ├── CircularProgress.module.scss │ │ ├── CircularProgress.tsx │ │ └── index.ts │ ├── ReservationDetails │ │ ├── ReservationCoupon │ │ │ ├── ReservationCoupon.module.scss │ │ │ ├── ReservationCoupon.tsx │ │ │ └── index.ts │ │ ├── ReservationDetails.module.scss │ │ ├── ReservationDetails.tsx │ │ ├── ReservationDetailsItem │ │ │ ├── ReservationDetailsItem.module.scss │ │ │ ├── ReservationDetailsItem.tsx │ │ │ └── index.ts │ │ ├── ReservationTotals │ │ │ ├── ReservationTotals.module.scss │ │ │ ├── ReservationTotals.tsx │ │ │ └── index.ts │ │ └── index.ts │ ├── Steps │ │ ├── StepIndicator │ │ │ ├── StepIndicator.module.scss │ │ │ ├── StepIndicator.tsx │ │ │ └── index.ts │ │ ├── Steps.module.scss │ │ ├── Steps.tsx │ │ └── index.ts │ └── index.ts ├── config.ts ├── containers │ ├── App │ │ ├── App.tsx │ │ ├── connector.ts │ │ └── index.ts │ └── Steps │ │ ├── Finish │ │ ├── Finish.module.scss │ │ ├── Finish.tsx │ │ └── index.ts │ │ ├── HotelDate │ │ ├── HotelDate.tsx │ │ └── index.ts │ │ ├── PreviewPayment │ │ ├── PreviewPayment.module.scss │ │ ├── PreviewPayment.tsx │ │ └── index.ts │ │ ├── RoomView │ │ ├── RoomView.tsx │ │ └── index.ts │ │ └── index.ts ├── hocs │ └── withErrorHandler.tsx ├── hooks │ ├── index.ts │ ├── useCart.ts │ ├── useCreditCard.ts │ ├── useForm.ts │ ├── useHotels.ts │ ├── useLocalStorage.ts │ └── useSteps.ts ├── index.tsx ├── lib │ ├── media │ │ ├── icons │ │ │ ├── arrow-left.svg │ │ │ ├── bed.svg │ │ │ ├── calendar.svg │ │ │ ├── credit-card.svg │ │ │ └── fireworks.svg │ │ └── payment │ │ │ ├── amex-single.svg │ │ │ ├── amex.svg │ │ │ ├── diners-single.svg │ │ │ ├── diners.svg │ │ │ ├── discover-single.svg │ │ │ ├── discover.svg │ │ │ ├── jcb-single.svg │ │ │ ├── jcb.svg │ │ │ ├── maestro-single.svg │ │ │ ├── maestro.svg │ │ │ ├── mastercard-single.svg │ │ │ ├── mastercard.svg │ │ │ ├── troy-single.svg │ │ │ ├── troy.svg │ │ │ ├── unionpay-single.svg │ │ │ ├── unionpay.svg │ │ │ ├── visa-single.svg │ │ │ └── visa.svg │ ├── scripts │ │ ├── axios.ts │ │ └── utils.ts │ └── styles │ │ ├── _reboot.css │ │ ├── abstracts │ │ ├── _mixins.scss │ │ └── _variables.scss │ │ └── main.scss ├── react-app-env.d.ts ├── reportWebVitals.ts ├── setupTests.ts └── stores │ ├── cart │ ├── actions.ts │ ├── constants.ts │ ├── reducers.ts │ └── sagas.ts │ ├── global-reducers.ts │ ├── global-sagas.ts │ ├── hotels │ ├── actions.ts │ ├── constants.ts │ ├── reducers.ts │ └── sagas.ts │ └── index.ts └── tsconfig.json /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/.env -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/README.md -------------------------------------------------------------------------------- /_screenshots/01. Hotel selection.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/_screenshots/01. Hotel selection.jpg -------------------------------------------------------------------------------- /_screenshots/02. Room & view selection.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/_screenshots/02. Room & view selection.jpg -------------------------------------------------------------------------------- /_screenshots/03. Payment 1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/_screenshots/03. Payment 1.jpg -------------------------------------------------------------------------------- /_screenshots/04. Payment 2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/_screenshots/04. Payment 2.jpg -------------------------------------------------------------------------------- /_screenshots/05. Payment 3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/_screenshots/05. Payment 3.jpg -------------------------------------------------------------------------------- /_screenshots/06. Success.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/_screenshots/06. Success.jpg -------------------------------------------------------------------------------- /_screenshots/Check-in validation.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/_screenshots/Check-in validation.jpg -------------------------------------------------------------------------------- /_screenshots/Check-out validation.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/_screenshots/Check-out validation.jpg -------------------------------------------------------------------------------- /_screenshots/Coupon discounts.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/_screenshots/Coupon discounts.jpg -------------------------------------------------------------------------------- /_screenshots/Coupon validation.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/_screenshots/Coupon validation.jpg -------------------------------------------------------------------------------- /_screenshots/Credit card expiry validation.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/_screenshots/Credit card expiry validation.jpg -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/package.json -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/index.html -------------------------------------------------------------------------------- /public/media/favicons/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/media/favicons/android-chrome-192x192.png -------------------------------------------------------------------------------- /public/media/favicons/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/media/favicons/android-chrome-512x512.png -------------------------------------------------------------------------------- /public/media/favicons/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/media/favicons/apple-touch-icon.png -------------------------------------------------------------------------------- /public/media/favicons/browserconfig.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/media/favicons/browserconfig.xml -------------------------------------------------------------------------------- /public/media/favicons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/media/favicons/favicon-16x16.png -------------------------------------------------------------------------------- /public/media/favicons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/media/favicons/favicon-32x32.png -------------------------------------------------------------------------------- /public/media/favicons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/media/favicons/favicon.ico -------------------------------------------------------------------------------- /public/media/favicons/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/media/favicons/mstile-150x150.png -------------------------------------------------------------------------------- /public/media/favicons/safari-pinned-tab.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/media/favicons/safari-pinned-tab.svg -------------------------------------------------------------------------------- /public/media/favicons/site.webmanifest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/media/favicons/site.webmanifest -------------------------------------------------------------------------------- /public/media/upload/room-deluxe.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/media/upload/room-deluxe.jpg -------------------------------------------------------------------------------- /public/media/upload/room-standard.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/media/upload/room-standard.jpg -------------------------------------------------------------------------------- /public/media/upload/room-suite.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/media/upload/room-suite.jpg -------------------------------------------------------------------------------- /public/media/upload/view-land.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/media/upload/view-land.jpg -------------------------------------------------------------------------------- /public/media/upload/view-pool.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/media/upload/view-pool.jpg -------------------------------------------------------------------------------- /public/media/upload/view-sea.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/public/media/upload/view-sea.jpg -------------------------------------------------------------------------------- /social-preview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/social-preview.jpg -------------------------------------------------------------------------------- /src/Types/TypeAppProps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/Types/TypeAppProps.ts -------------------------------------------------------------------------------- /src/Types/TypeCartDetails.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/Types/TypeCartDetails.ts -------------------------------------------------------------------------------- /src/Types/TypeCoupon.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/Types/TypeCoupon.ts -------------------------------------------------------------------------------- /src/Types/TypeHotel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/Types/TypeHotel.ts -------------------------------------------------------------------------------- /src/Types/TypeHotelDetails.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/Types/TypeHotelDetails.ts -------------------------------------------------------------------------------- /src/Types/TypeInput.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/Types/TypeInput.ts -------------------------------------------------------------------------------- /src/Types/TypeNewReservation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/Types/TypeNewReservation.ts -------------------------------------------------------------------------------- /src/Types/TypeReservationStep.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/Types/TypeReservationStep.ts -------------------------------------------------------------------------------- /src/Types/TypeStep.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/Types/TypeStep.ts -------------------------------------------------------------------------------- /src/_api/coupons-CODE20.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/_api/coupons-CODE20.json -------------------------------------------------------------------------------- /src/_api/coupons.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/_api/coupons.json -------------------------------------------------------------------------------- /src/_api/hotel-bookings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/_api/hotel-bookings.json -------------------------------------------------------------------------------- /src/_api/hotels-details.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/_api/hotels-details.json -------------------------------------------------------------------------------- /src/_api/hotels.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/_api/hotels.json -------------------------------------------------------------------------------- /src/apis.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/apis.ts -------------------------------------------------------------------------------- /src/components/Button/Button.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Button/Button.module.scss -------------------------------------------------------------------------------- /src/components/Button/Button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Button/Button.tsx -------------------------------------------------------------------------------- /src/components/Button/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Button'; 2 | -------------------------------------------------------------------------------- /src/components/CreditCard/CreditCard.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/CreditCard/CreditCard.scss -------------------------------------------------------------------------------- /src/components/CreditCard/CreditCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/CreditCard/CreditCard.tsx -------------------------------------------------------------------------------- /src/components/CreditCard/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './CreditCard'; 2 | -------------------------------------------------------------------------------- /src/components/Form/Form.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Form/Form.module.scss -------------------------------------------------------------------------------- /src/components/Form/ImageCheckbox/ImageCheckbox.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Form/ImageCheckbox/ImageCheckbox.module.scss -------------------------------------------------------------------------------- /src/components/Form/ImageCheckbox/ImageCheckbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Form/ImageCheckbox/ImageCheckbox.tsx -------------------------------------------------------------------------------- /src/components/Form/ImageCheckbox/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './ImageCheckbox'; 2 | -------------------------------------------------------------------------------- /src/components/Form/Select/Select.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Form/Select/Select.scss -------------------------------------------------------------------------------- /src/components/Form/Select/Select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Form/Select/Select.tsx -------------------------------------------------------------------------------- /src/components/Form/Select/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Select'; 2 | -------------------------------------------------------------------------------- /src/components/Form/TextField/TextField.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Form/TextField/TextField.module.scss -------------------------------------------------------------------------------- /src/components/Form/TextField/TextField.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Form/TextField/TextField.tsx -------------------------------------------------------------------------------- /src/components/Form/TextField/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './TextField'; 2 | -------------------------------------------------------------------------------- /src/components/Form/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Form/index.ts -------------------------------------------------------------------------------- /src/components/Header/Header.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Header/Header.module.scss -------------------------------------------------------------------------------- /src/components/Header/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Header/Header.tsx -------------------------------------------------------------------------------- /src/components/Header/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Header'; -------------------------------------------------------------------------------- /src/components/Portlet/Portlet.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Portlet/Portlet.module.scss -------------------------------------------------------------------------------- /src/components/Portlet/Portlet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Portlet/Portlet.tsx -------------------------------------------------------------------------------- /src/components/Portlet/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Portlet'; -------------------------------------------------------------------------------- /src/components/ProgressIndicators/CircularProgress.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/ProgressIndicators/CircularProgress.module.scss -------------------------------------------------------------------------------- /src/components/ProgressIndicators/CircularProgress.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/ProgressIndicators/CircularProgress.tsx -------------------------------------------------------------------------------- /src/components/ProgressIndicators/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/ProgressIndicators/index.ts -------------------------------------------------------------------------------- /src/components/ReservationDetails/ReservationCoupon/ReservationCoupon.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/ReservationDetails/ReservationCoupon/ReservationCoupon.module.scss -------------------------------------------------------------------------------- /src/components/ReservationDetails/ReservationCoupon/ReservationCoupon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/ReservationDetails/ReservationCoupon/ReservationCoupon.tsx -------------------------------------------------------------------------------- /src/components/ReservationDetails/ReservationCoupon/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './ReservationCoupon'; 2 | -------------------------------------------------------------------------------- /src/components/ReservationDetails/ReservationDetails.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/ReservationDetails/ReservationDetails.module.scss -------------------------------------------------------------------------------- /src/components/ReservationDetails/ReservationDetails.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/ReservationDetails/ReservationDetails.tsx -------------------------------------------------------------------------------- /src/components/ReservationDetails/ReservationDetailsItem/ReservationDetailsItem.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/ReservationDetails/ReservationDetailsItem/ReservationDetailsItem.module.scss -------------------------------------------------------------------------------- /src/components/ReservationDetails/ReservationDetailsItem/ReservationDetailsItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/ReservationDetails/ReservationDetailsItem/ReservationDetailsItem.tsx -------------------------------------------------------------------------------- /src/components/ReservationDetails/ReservationDetailsItem/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './ReservationDetailsItem'; 2 | -------------------------------------------------------------------------------- /src/components/ReservationDetails/ReservationTotals/ReservationTotals.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/ReservationDetails/ReservationTotals/ReservationTotals.module.scss -------------------------------------------------------------------------------- /src/components/ReservationDetails/ReservationTotals/ReservationTotals.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/ReservationDetails/ReservationTotals/ReservationTotals.tsx -------------------------------------------------------------------------------- /src/components/ReservationDetails/ReservationTotals/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './ReservationTotals'; 2 | -------------------------------------------------------------------------------- /src/components/ReservationDetails/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './ReservationDetails'; 2 | -------------------------------------------------------------------------------- /src/components/Steps/StepIndicator/StepIndicator.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Steps/StepIndicator/StepIndicator.module.scss -------------------------------------------------------------------------------- /src/components/Steps/StepIndicator/StepIndicator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Steps/StepIndicator/StepIndicator.tsx -------------------------------------------------------------------------------- /src/components/Steps/StepIndicator/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './StepIndicator'; 2 | -------------------------------------------------------------------------------- /src/components/Steps/Steps.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Steps/Steps.module.scss -------------------------------------------------------------------------------- /src/components/Steps/Steps.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Steps/Steps.tsx -------------------------------------------------------------------------------- /src/components/Steps/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/Steps/index.ts -------------------------------------------------------------------------------- /src/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/components/index.ts -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/containers/App/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/containers/App/App.tsx -------------------------------------------------------------------------------- /src/containers/App/connector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/containers/App/connector.ts -------------------------------------------------------------------------------- /src/containers/App/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './App'; 2 | -------------------------------------------------------------------------------- /src/containers/Steps/Finish/Finish.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/containers/Steps/Finish/Finish.module.scss -------------------------------------------------------------------------------- /src/containers/Steps/Finish/Finish.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/containers/Steps/Finish/Finish.tsx -------------------------------------------------------------------------------- /src/containers/Steps/Finish/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Finish'; 2 | -------------------------------------------------------------------------------- /src/containers/Steps/HotelDate/HotelDate.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/containers/Steps/HotelDate/HotelDate.tsx -------------------------------------------------------------------------------- /src/containers/Steps/HotelDate/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './HotelDate'; 2 | -------------------------------------------------------------------------------- /src/containers/Steps/PreviewPayment/PreviewPayment.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/containers/Steps/PreviewPayment/PreviewPayment.module.scss -------------------------------------------------------------------------------- /src/containers/Steps/PreviewPayment/PreviewPayment.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/containers/Steps/PreviewPayment/PreviewPayment.tsx -------------------------------------------------------------------------------- /src/containers/Steps/PreviewPayment/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './PreviewPayment'; 2 | -------------------------------------------------------------------------------- /src/containers/Steps/RoomView/RoomView.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/containers/Steps/RoomView/RoomView.tsx -------------------------------------------------------------------------------- /src/containers/Steps/RoomView/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './RoomView'; 2 | -------------------------------------------------------------------------------- /src/containers/Steps/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/containers/Steps/index.ts -------------------------------------------------------------------------------- /src/hocs/withErrorHandler.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/hocs/withErrorHandler.tsx -------------------------------------------------------------------------------- /src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/hooks/index.ts -------------------------------------------------------------------------------- /src/hooks/useCart.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/hooks/useCart.ts -------------------------------------------------------------------------------- /src/hooks/useCreditCard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/hooks/useCreditCard.ts -------------------------------------------------------------------------------- /src/hooks/useForm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/hooks/useForm.ts -------------------------------------------------------------------------------- /src/hooks/useHotels.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/hooks/useHotels.ts -------------------------------------------------------------------------------- /src/hooks/useLocalStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/hooks/useLocalStorage.ts -------------------------------------------------------------------------------- /src/hooks/useSteps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/hooks/useSteps.ts -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/lib/media/icons/arrow-left.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/icons/arrow-left.svg -------------------------------------------------------------------------------- /src/lib/media/icons/bed.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/icons/bed.svg -------------------------------------------------------------------------------- /src/lib/media/icons/calendar.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/icons/calendar.svg -------------------------------------------------------------------------------- /src/lib/media/icons/credit-card.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/icons/credit-card.svg -------------------------------------------------------------------------------- /src/lib/media/icons/fireworks.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/icons/fireworks.svg -------------------------------------------------------------------------------- /src/lib/media/payment/amex-single.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/amex-single.svg -------------------------------------------------------------------------------- /src/lib/media/payment/amex.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/amex.svg -------------------------------------------------------------------------------- /src/lib/media/payment/diners-single.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/diners-single.svg -------------------------------------------------------------------------------- /src/lib/media/payment/diners.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/diners.svg -------------------------------------------------------------------------------- /src/lib/media/payment/discover-single.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/discover-single.svg -------------------------------------------------------------------------------- /src/lib/media/payment/discover.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/discover.svg -------------------------------------------------------------------------------- /src/lib/media/payment/jcb-single.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/jcb-single.svg -------------------------------------------------------------------------------- /src/lib/media/payment/jcb.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/jcb.svg -------------------------------------------------------------------------------- /src/lib/media/payment/maestro-single.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/maestro-single.svg -------------------------------------------------------------------------------- /src/lib/media/payment/maestro.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/maestro.svg -------------------------------------------------------------------------------- /src/lib/media/payment/mastercard-single.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/mastercard-single.svg -------------------------------------------------------------------------------- /src/lib/media/payment/mastercard.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/mastercard.svg -------------------------------------------------------------------------------- /src/lib/media/payment/troy-single.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/troy-single.svg -------------------------------------------------------------------------------- /src/lib/media/payment/troy.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/troy.svg -------------------------------------------------------------------------------- /src/lib/media/payment/unionpay-single.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/unionpay-single.svg -------------------------------------------------------------------------------- /src/lib/media/payment/unionpay.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/unionpay.svg -------------------------------------------------------------------------------- /src/lib/media/payment/visa-single.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/visa-single.svg -------------------------------------------------------------------------------- /src/lib/media/payment/visa.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/media/payment/visa.svg -------------------------------------------------------------------------------- /src/lib/scripts/axios.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/scripts/axios.ts -------------------------------------------------------------------------------- /src/lib/scripts/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/scripts/utils.ts -------------------------------------------------------------------------------- /src/lib/styles/_reboot.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/styles/_reboot.css -------------------------------------------------------------------------------- /src/lib/styles/abstracts/_mixins.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/styles/abstracts/_mixins.scss -------------------------------------------------------------------------------- /src/lib/styles/abstracts/_variables.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/styles/abstracts/_variables.scss -------------------------------------------------------------------------------- /src/lib/styles/main.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/lib/styles/main.scss -------------------------------------------------------------------------------- /src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /src/reportWebVitals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/reportWebVitals.ts -------------------------------------------------------------------------------- /src/setupTests.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/setupTests.ts -------------------------------------------------------------------------------- /src/stores/cart/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/stores/cart/actions.ts -------------------------------------------------------------------------------- /src/stores/cart/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/stores/cart/constants.ts -------------------------------------------------------------------------------- /src/stores/cart/reducers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/stores/cart/reducers.ts -------------------------------------------------------------------------------- /src/stores/cart/sagas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/stores/cart/sagas.ts -------------------------------------------------------------------------------- /src/stores/global-reducers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/stores/global-reducers.ts -------------------------------------------------------------------------------- /src/stores/global-sagas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/stores/global-sagas.ts -------------------------------------------------------------------------------- /src/stores/hotels/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/stores/hotels/actions.ts -------------------------------------------------------------------------------- /src/stores/hotels/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/stores/hotels/constants.ts -------------------------------------------------------------------------------- /src/stores/hotels/reducers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/stores/hotels/reducers.ts -------------------------------------------------------------------------------- /src/stores/hotels/sagas.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/stores/hotels/sagas.ts -------------------------------------------------------------------------------- /src/stores/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/src/stores/index.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sallamy2580/react-hotel-reservation-system/HEAD/tsconfig.json --------------------------------------------------------------------------------