How trishank18/tilevista works
TileVista is a tile-commerce storefront with customer accounts, product discovery, cart and checkout, order tracking, enquiries, and an administration area. The customer flow is browsing products, adding items to a cart, placing an order, then viewing order status; account authentication gates personal orders. Admins manage orders, customers, enquiries, settings, and catalog content. The tree and excerpts show both a Flask/SQLite API and Netlify functions using blob stores; their deployment relationship is not established, so they are shown as separate backend implementations. Some feature wiring is inferred only where the sampled code or endpoint names support it.
Main entry points: admin-data.js Admin data API · dashboard.html Admin pages · orders.js Order API · products.html Storefront pages
Components 24
Customer storefront
- Storefront pages
products.html - Product discovery
js/products.js - Cart and checkout
js/cart.js - Site runtime
js/main.js
Customer services
- Account pages
profile.html - Order pages
my-orders.html - Enquiry pages
quote.html
Administration
- Admin pages
admin/dashboard.html - Admin dashboard runtime
js/admin.js - Catalog management
js/admin-products.js - Admin data views
js/admin-data.js - Admin settings and enquiries
js/admin-extra.js
Backend services
- Product API
netlify/functions/products.js - Customer authentication
netlify/functions/auth.js - Order API
netlify/functions/orders.js - Inquiry API
netlify/functions/submit-inquiry.js - Admin authentication
netlify/functions/admin-auth.js - Admin data API
netlify/functions/admin-data.js - Flask API
app.py
Persistent state
- Account blob store
netlify/functions/auth.js - Order blob store
netlify/functions/orders.js - Inquiry blob store
netlify/functions/submit-inquiry.js - SQLite database
app.py
Other components
- Shopper
Connections 25
- Shopper → Storefront pages: browses
- Storefront pages → Product discovery: loads
- Product discovery → Product API: requests products
- Site runtime → Product API: loads deleted IDs
- Shopper → Cart and checkout: shops
- Cart and checkout → Order API: places order
- Shopper → Account pages: manages account
- Account pages → Customer authentication: authenticates
- Shopper → Order pages: views orders
- Order pages → Order API: requests orders
- Shopper → Enquiry pages: submits enquiry
- Enquiry pages → Inquiry API: submits fields
- Shopper → Admin pages: administers
- Admin pages → Admin dashboard runtime: loads
- Catalog management → Admin data API: manages catalog
- Admin data views → Admin data API: requests data
- Admin settings and enquiries → Admin data API: requests data
- Admin pages → Admin authentication: authenticates
- Customer authentication → Account blob store: reads and writes
- Order API → Order blob store: reads and writes
- Inquiry API → Inquiry blob store: writes inquiry
- Admin data API → Account blob store: reads users
- Admin data API → Order blob store: reads orders
- Admin data API → Inquiry blob store: reads enquiries
- Flask API → SQLite database: reads and writes