How mit-patil/quickbite works
QuickBite is a multi-role food-ordering platform: customers browse restaurants, manage carts, place and pay for orders; restaurant owners manage restaurants and menus; delivery partners share locations for assignment. The repository separates the web client, user management, restaurant/order operations, payments, and delivery matching. The sampled code confirms routing and selected service calls, but the README is empty and many integrations are unsampled, so cross-service links are omitted where their runtime wiring is not evidenced.
Main entry points: App.jsx Role-based app · matchingService.js Order matching · paymentController.js Charge and refund · partnerController.js Location actions
Components 25
Web client
- Role-based app
quickbite-frontend/src/App.jsx - Customer ordering
quickbite-frontend/src/pages/customer - Restaurant management
quickbite-frontend/src/pages/restaurant-owner - Delivery workspace
quickbite-frontend/src/pages/delivery
User management
- User endpoints
user-service/src/main/java/com/quickbite/user_service/controller/UserController.java - Accounts and profiles
user-service/src/main/java/com/quickbite/user_service/service/UserService.java
Restaurant and orders
- Restaurant and cart API
restaurant-order-service/src/main/java/com/quickbite/restaurant_order_service/controller - Menu management API
restaurant-order-service/src/main/java/com/quickbite/restaurant_order_service/controller/MenuItemController.java - Menu and options
restaurant-order-service/src/main/java/com/quickbite/restaurant_order_service/service/MenuItemService.java - Order lifecycle
restaurant-order-service/src/main/java/com/quickbite/restaurant_order_service/service/OrderService.java
Payments
- Payment routes
payment-service/src/routes/paymentRoutes.js - Charge and refund
payment-service/src/controllers/paymentController.js - Payment records
payment-service/src/models/Payment.js - Payment event publisher
payment-service/src/kafka/paymentEventPublisher.js
Delivery matching
- Partner endpoints
delivery-matching-service/src/routes/partnerRoutes.js - Location actions
delivery-matching-service/src/controllers/partnerController.js - Partner locations
delivery-matching-service/src/services/locationService.js - Order matching
delivery-matching-service/src/services/matchingService.js - Redis state
delivery-matching-service/src/config/redis.js - Restaurant lookup
delivery-matching-service/src/clients/restaurantClient.js - Retry queue
delivery-matching-service/src/services/retryQueue.js - Delivery event producer
delivery-matching-service/src/kafka/producer.js
Other components
- Customer
- Restaurant owner
- Delivery partner
Connections 18
- Customer → Role-based app: uses
quickbite-frontend/src/App.jsx - Restaurant owner → Role-based app: uses
quickbite-frontend/src/App.jsx - Delivery partner → Role-based app: uses
quickbite-frontend/src/App.jsx - Role-based app → Customer ordering: routes to
quickbite-frontend/src/App.jsx - Role-based app → Restaurant management: routes to
quickbite-frontend/src/App.jsx - Role-based app → Delivery workspace: routes to
quickbite-frontend/src/App.jsx - User endpoints → Accounts and profiles: calls
user-service/src/main/java/com/quickbite/user_service/controller/UserController.java - Menu management API → Menu and options: calls
restaurant-order-service/src/main/java/com/quickbite/restaurant_order_service/controller/MenuItemController.java - Payment routes → Charge and refund: routes to
payment-service/src/routes/paymentRoutes.js - Charge and refund → Payment records: reads and writes
payment-service/src/controllers/paymentController.js - Charge and refund → Payment event publisher: publishes
payment-service/src/controllers/paymentController.js - Partner endpoints → Location actions: routes to
delivery-matching-service/src/routes/partnerRoutes.js - Location actions → Partner locations: calls
delivery-matching-service/src/controllers/partnerController.js - Order matching → Redis state: reads and writes
delivery-matching-service/src/services/matchingService.js - Order matching → Partner locations: queries and claims
delivery-matching-service/src/services/matchingService.js - Order matching → Restaurant lookup: fetches location
delivery-matching-service/src/services/matchingService.js - Order matching → Retry queue: schedules retries
delivery-matching-service/src/services/matchingService.js - Order matching → Delivery event producer: publishes events
delivery-matching-service/src/services/matchingService.js