How vjy123vjy/vegito works
VEGITO is a vegetable marketplace and delivery platform. Customers browse produce, manage a cart, place orders, pay, and track delivery; sellers manage products, inventory, and fulfillment, while delivery partners handle tasks and admins oversee operations. The frontend is a Next.js client, and the backend is a FastAPI API with SQLAlchemy persistence. The tree and application description establish the major product areas, but sampled implementation wiring is limited; only the review flow is traced through its router and service.
Main entry points: review_service.py Review Service · reviews.py Review Routes · main.py FastAPI Application · database.py SQL Database
Components 24
Customer and Staff App
- Customer Experience
frontend/app/customer - Seller Portal
frontend/app/seller - Delivery Portal
frontend/app/delivery - Admin Portal
frontend/app/admin - API Client
frontend/lib/api/client.ts
Backend API
- FastAPI Application
backend/app/main.py - Domain Routes
backend/app/routers
Marketplace Operations
- Catalog and Inventory
backend/app/routers/products.py - Cart and Orders
backend/app/routers/orders.py - Payments and Offers
backend/app/routers/payments.py - Seller Fulfillment
backend/app/services/seller_fulfillment_service.py - Review Routes
backend/app/routers/reviews.py - Review Service
backend/app/services/review_service.py - Review Records
backend/app/models/review.py
Delivery Operations
- Delivery and Tracking
backend/app/routers/delivery_tracking.py - Mapbox
Shared Platform
- Authentication
backend/app/services/auth_service.py - Administration and Analytics
backend/app/routers/admin_analytics.py - SQL Database
backend/app/database.py - OTP Provider
Other components
- Customer
- Seller
- Delivery Partner
- Administrator
Connections 12
- Customer → Customer Experience: uses
- Seller → Seller Portal: uses
- Delivery Partner → Delivery Portal: uses
- Administrator → Admin Portal: uses
- API Client → FastAPI Application: sends API requests
- FastAPI Application → Domain Routes: registers routes
- Review Routes → Review Service: calls
- Review Routes → SQL Database: gets session
- Review Service → SQL Database: queries and writes
- Review Service → Review Records: reads and creates
- Authentication → OTP Provider: sends OTP
- Delivery and Tracking → Mapbox: map integration