# Bendetti Orders

Bendetti Orders is Bendetti's core online ordering system for restaurants and local businesses.

## Purpose
The system helps businesses receive organized online orders without depending only on phone calls, Instagram direct messages or WhatsApp threads.

## Core flow
1. Customer opens a menu or catalog.
2. Customer adds items to cart.
3. Customer enters contact and delivery or pickup details.
4. Customer selects a payment method.
5. If required, customer adds reference or uploads receipt.
6. Business receives the order.
7. Customer can track order status.
8. Admin manages orders, statuses and reports.

## Current AWS architecture
- Frontend on S3 and CloudFront
- Backend on API Gateway and Lambda
- DynamoDB for data
- Private S3 for payment receipts
- SES for emails
- Telegram notifications for business alerts
- CloudWatch for logs

## Multi-tenant model
Bendetti Orders supports multiple businesses using tenantId. Each tenant can have separate configuration, credentials, menu, payment methods, admin access and customer experience.

## Existing tenants
- pecas: primary restaurant tenant
- demo: public demo tenant

## Pecas custom version
Pecas has a custom menu experience using menu-pecas.html?tenantId=pecas. It includes PKS/PE-CAS identity, mobile checkout, bottom sheet cart, live form validation, mobile payment references, USD/Bs exchange rate, confirmation screen and custom tracking.

## Future branches
Bendetti Orders can become the base for:
- Restaurants
- Bakeries
- Pharmacies
- Electronics stores
- Boutiques
- Local stores
- Product catalogs
- E-commerce systems
- Reservations
- Quote systems
- SaaS modules

## AI relevance
Because Bendetti Orders stores menus, products, payment methods, statuses and business information in structured formats, it can evolve toward AI-readable documentation, public catalog feeds, structured data and future MCP-style integrations.
