This app is a booking form of a thai massage salon. It allows to select a number of services and their options, select avaialble date and time for an appointment, enter contact details (incl. another person name, if booking is for another person), and selecting payment options. The final step is review of the booking details and confirmation.
The app is built with React.js by using the hooks technique. The forms are build mostly with Formik library. The design and form visual interactions are provided with Material-UI React library. Form validation is build (mostly) with Yup validationSchemas, which integration is supportded by Formik forms.
The app is supposed to be a part of a Wordpress plugin, that fetches data (configuration, settings, services info, working time and etc ) from the backend. Meanwhile static JSON objects (imported from js) are used as a data source.
This project was bootstrapped with Create React App.
Clone the repository:
Change directory to devmcee-booking
Install dependencies
Start the app with the start script (see below)
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify