How fran56caton/kuyari works
KUYARI is a customizable-gift storefront with a WhatsApp-coordinated ordering flow and an operator/admin panel. Buyers browse and personalize products, review a server quote, save an order, then send its summary through WhatsApp; staff confirm availability and advance fulfillment. The product also includes romantic letter, garden, book, and memory/QR experiences. Local Node/SQLite and Vercel/Turso are alternate server deployments. Several subsystems are documented but unsampled, so their relationships are shown only where the README or source index supports them.
Main entry points: client/app.ts Route dispatcher · cloud/app.ts Cloud application · ui.ts UI and API client · server/app.ts Local application
Components 30
Storefront
- Route dispatcher
client/app.ts - Catalog browsing
client/catalog.ts - Cart and checkout
client/checkout.ts - UI and API client
client/ui.ts - Contact links
client/contact.ts
Orders and operations
- Admin panel
client/admin.ts - Account and tracking
client/customer.ts
Gift experiences
- Garden designer
client/garden.ts - Garden artwork
client/garden-art.ts - Romance creator
client/love.ts - Romance experience
client/love-experience.ts - Shared models
shared/models.ts - Garden model
shared/garden.ts - Invitation model
shared/invitation.ts - Romance model
shared/romance.ts
Server platform
- API entry
api/index.ts - Cloud application
cloud/app.ts - Cloud commerce
cloud/commerce.ts - Cloud database
cloud/db.ts - Cloud file storage
cloud/storage.ts - Yape payment
cloud/yape.ts - Local server entry
server/main.ts - Local application
server/app.ts - Local commerce
server/commerce.ts - SQLite database
server/db.ts - Local file storage
server/storage.ts - Security primitives
server/security.ts - Cloud security
cloud/security.ts
Other components
- Buyer
Connections 40
- Buyer → Route dispatcher: opens
client/app.ts - Route dispatcher → Catalog browsing: routes to
client/app.ts - Route dispatcher → Cart and checkout: routes to
client/app.ts - Route dispatcher → Garden designer: routes to
client/app.ts - Route dispatcher → Romance creator: routes to
client/app.ts - Route dispatcher → Account and tracking: routes to
client/app.ts - Route dispatcher → Admin panel: routes to
client/app.ts - Route dispatcher → UI and API client: uses
client/app.ts - Cart and checkout → UI and API client: uses
- Catalog browsing → UI and API client: uses
- Admin panel → UI and API client: uses
client/admin.ts - Account and tracking → UI and API client: uses
client/customer.ts - Account and tracking → Contact links: uses
client/customer.ts - Route dispatcher → Contact links: renders links
client/app.ts - Buyer → WhatsApp: sends order
README.md - Garden designer → Garden artwork: renders
client/garden.ts - Garden designer → Garden model: uses
client/garden.ts - Romance creator → Romance experience: mounts
client/love.ts - Romance experience → Garden artwork: renders
client/love-experience.ts - Romance creator → Romance model: uses
client/love.ts - Romance model → Invitation model: uses
shared/romance.ts - Romance model → Garden model: uses
shared/romance.ts - Cart and checkout → Shared models: uses
- Admin panel → Shared models: uses
client/admin.ts - API entry → Local server entry: dispatches to
- API entry → Cloud application: dispatches to
api/index.ts - Local server entry → Local application: starts
server/main.ts - Local application → Local commerce: creates orders
server/app.ts - Local application → SQLite database: uses
server/app.ts - Local commerce → SQLite database: reads and writes
server/commerce.ts - Local commerce → Security primitives: uses
server/commerce.ts - Local application → Local file storage: uses
server/app.ts - Cloud application → Cloud commerce: routes commerce
cloud/app.ts - Cloud application → Cloud database: uses
cloud/app.ts - Cloud application → Cloud file storage: uses
cloud/app.ts - Cloud application → Yape payment: routes payments
cloud/app.ts - Cloud application → Cloud security: uses
cloud/app.ts - Cloud commerce → Cloud database: uses
- Cloud file storage → Cloud security: uses
cloud/storage.ts - Cloud security → Cloud database: uses
cloud/db.ts