This project is a React SPA that sends details about a user's dish to a given API endpoint with POST request.
Time it took to create this project: 6-8 hours.
Live preview can be found in here: https://dish-submitter.netlify.app/
- React.js
- Formik + Yup form validation
- Vite
- SASS
- Font Awesome icons
- Node v18.16.0
- npm v9.6.6
- Clone this repository using
git clone
- Navigate to the project directory.
- Run the following commands:
npm install
andnpm run dev
This will start the server on http://localhost:5173
An example request made by UI can look as following:
{
"name": "Margherita",
"preparation_time": "03:30:00",
"type": "pizza",
"no_of_slices": 6,
"diameter": 32,
}