How tato6615/tato-os works
TATO Coffee combines a customer storefront and a serverless business operating system. The main customer journey is discovery → product configuration → checkout, with behavior events recorded alongside it. The API tree also exposes market research, content, demand planning, commerce, and learning/decision capabilities. The README is empty, and several API implementations are unsampled, so their broader capabilities are shown without speculative connections; the data-store links reflect only sampled code or explicit flow documentation.
Main entry points: App.tsx Storefront app · ProductView.tsx Product view · demand-engine.js Demand planning · DiscoverView.tsx Discover view
Components 22
Customer storefront
- Storefront app
src/App.tsx - Discover view
src/components/DiscoverView.tsx - Product view
src/components/ProductView.tsx - Coffee catalog
src/data/coffeeData.ts
Market and demand
- Public market test
functions/market-test.js - Test event entry
functions/api/market-test-entry.js - Signal collection
functions/api/market-signal-collection.js - Market intelligence
functions/api/market-intelligence.js - Opportunity engine
functions/api/opportunity-engine.js - Demand planning
functions/api/demand-engine.js - Content production
functions/api/content-production.js - Content distribution
functions/api/distribution.js
Commerce operations
- Checkout API
functions/api/checkout.js
Measurement and decisions
- Behavior API
functions/api/behavior.js - Content measurement
functions/api/content-measurement.js - Learning engine
functions/api/learning-ai.js - Decision engine
functions/api/decision-engine.js
Business operations
- Automation
functions/api/automation.js - Business goals
functions/api/business-goals.js - Business actions
functions/api/business-action.js
Other components
- Customer
- Operational database
Connections 20
- Customer → Storefront app: browses
- Storefront app → Discover view: shows
- Storefront app → Product view: opens
- Discover view → Product view: selects product
- Product view → Coffee catalog: uses catalog
- Storefront app → Behavior API: posts events
- Storefront app → Checkout API: submits order
- Public market test → Test event entry: posts events
- Signal collection → Operational database: writes signals
- Market intelligence → Operational database: accesses data
- Opportunity engine → Operational database: reads signals
- Demand planning → Operational database: reads and writes plans
- Demand planning → Business goals: reads goal data
- Content production → Operational database: accesses content data
- Content distribution → Operational database: accesses distribution data
- Content measurement → Operational database: accesses measurements
- Learning engine → Operational database: accesses learning data
- Decision engine → Operational database: reads and saves decisions
- Automation → Operational database: accesses automation data
- Business actions → Operational database: accesses action data