How aditisahu-cs/easydrop-an-ai-delivery-app works
EasyDrop is a doorstep-delivery booking and dispatch application for autonomous rovers. Customers choose a delivery day and time window, create or manage bookings, and can use address cleanup and DropBot assistance; operators review bookings and capacity suggestions. The React app coordinates these workflows, while an Express API exposes booking, tracking, slot, and AI endpoints and a SQLite layer provides persistent storage. Several UI modules are indexed but not excerpted, so their connections are shown only where supported or left unverified.
Main entry points: App.tsx App Coordinator · BookDeliveryView.tsx Book Delivery · server.ts Express API · aiService.ts API Client
Components 17
Customer App
- App Coordinator
src/App.tsx - Book Delivery
src/components/BookDeliveryView.tsx - Address Cleanup
src/components/AddressCleanupModal.tsx - Slot Confirmation
src/components/SlotConfirmationModal.tsx - DropBot Chat
src/components/DropBotChatModal.tsx
Delivery Operations
- Delivery Tracking
src/components/DeliveriesView.tsx - Delivery Map
src/components/DeliveryMapView.tsx - Rover Display
src/components/RoboticsRover.tsx - Admin Portal
src/components/AdminPortalView.tsx - Demo and Slot Data
src/data/mockData.ts
API and AI
- API Client
src/services/aiService.ts - Express API
server.ts
Booking Data
- SQLite Store
src/db/sqliteDb.ts - SQLite Database File
easydrop.sqlite
Other components
- Customer
- Dispatcher
- Google Gemini
Connections 18
- Customer → App Coordinator: uses
- Dispatcher → App Coordinator: uses
- App Coordinator → Book Delivery: shows booking
src/App.tsx - App Coordinator → Delivery Tracking: shows tracking
src/App.tsx - App Coordinator → Admin Portal: shows portal
src/App.tsx - App Coordinator → Address Cleanup: opens modal
src/App.tsx - App Coordinator → Slot Confirmation: opens modal
src/App.tsx - App Coordinator → DropBot Chat: renders
src/App.tsx - App Coordinator → API Client: loads and updates bookings
src/App.tsx - App Coordinator → API Client: normalizes address
src/App.tsx - App Coordinator → Demo and Slot Data: loads demo data
src/App.tsx - Book Delivery → Rover Display: renders
src/components/BookDeliveryView.tsx - Book Delivery → Demo and Slot Data: gets coordinates
src/components/BookDeliveryView.tsx - Delivery Map → Demo and Slot Data: uses map data
src/components/DeliveryMapView.tsx - API Client → Express API: requests API routes
src/services/aiService.ts - Express API → SQLite Store: uses persistence
server.ts - Express API → Google Gemini: uses AI service
- SQLite Store → SQLite Database File: stores records