The Delivery Project is a web application designed to calculate delivery fees based on parameters like cart value, delivery distance, number of items, and order time. Built with React, TypeScript and Material-UI, it provides a user-friendly interface for calculating delivery costs.
- Form for inputting cart value, delivery distance, number of items, and order time.
- Real-time calculation of delivery fees.
- Responsive design for compatibility with various devices.
- Accessible UI and semantics for screen readers etc.
- Utilizes Material-UI for a modern interface.
Before beginning, ensure you have the following:
- Node.js and npm (Node Package Manager). Download Node.js
If you have received this project as a ZIP file, follow these steps:
- Unzip the
delivery-project.zip
file to your desired location. - Open a terminal and navigate to the unzipped project directory:
cd path/to/delivery-project
- npm install
After installing the Delivery Project, use the following commands to run and interact with the application:
- Start the Development Server: npm run dev
- Build the Project for Production: npm run build
- Run Tests: npm run test
- Preview the Production Build: npm run preview
These commands are integral for the development and testing of the Delivery Project. Ensure to run these commands in the root directory of the project.