Skip to content

gq23401/delivery-fee-app

Repository files navigation

Delivery Fee App

A React + TypeScript + Vite application that calculates delivery fees based on multiple factors such as cart value, distance, number of items, and rush hour rules.

This project was built to demonstrate frontend development with modern tooling and strong TypeScript support.

Features

Cart value check – free delivery above a threshold.

Distance calculation – fee increases with delivery distance.

Item surcharge – additional fee for large orders.

Rush hour multiplier – dynamic fee adjustment during peak hours.

Responsive UI – works well on desktop and mobile.

Tech Stack

React 18 with TypeScript

Vite for fast build tooling

Jest (or Vitest) for testing business logic

Nginx used for production deployment on AWS EC2

Getting Started Prerequisites

Node.js (v18 or newer recommended)

npm or yarn

Installation

About

React project for calculating delivery fees with custom logic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published