How mayorit/kreezbysystem_testing works
Kreezby Bakeshop is a multi-portal bakery sales and operations application: customers can shop and check out, while staff and administrators manage orders, purchasing, receiving, sales, stock, and related records. The sampled code shows browser-side portal features alongside an Express server with MongoDB-backed state and payment/management endpoints. Major modules are included, but the README is empty and most browser-to-server wiring was not shown; accordingly, uncertain connections are omitted or marked unverified.
Main entry points: server.js Express API · checkout-customer.js Checkout
Components 23
Customer Shop
- Checkout
Kreezby-Bakeshop-main/js/checkout-customer.js - Customer Orders
Kreezby-Bakeshop-main/js/customer-orders.js - Order Tracking
Kreezby-Bakeshop-main/js/order-tracking.js - Customer Help Chat
Kreezby-Bakeshop-main/js/customer-help-chat.js - Phone Shop
Kreezby-Bakeshop-main/js/customer-phone-shop.js
Bakery Operations
- Purchase Orders
Kreezby-Bakeshop-main/js/po-admin.js - Receiving
Kreezby-Bakeshop-main/js/receive-admin.js - Back Orders
Kreezby-Bakeshop-main/js/bo-admin.js - Returns
Kreezby-Bakeshop-main/js/return-admin.js - Staff Permissions
Kreezby-Bakeshop-main/js/staff-permissions.js
Sales And Insights
- Sales Views
Kreezby-Bakeshop-main/js/sales-list-renderer.js - Sales Data
Kreezby-Bakeshop-main/js/kreezby-sales-data.js - Stock Dashboard
Kreezby-Bakeshop-main/js/stocklevel-dashboard.js - Product Data Dictionary
Kreezby-Bakeshop-main/js/kreezby-data-dictionary.js - Management Insight API
server.js
Application Platform
- App Runtime
Kreezby-Bakeshop-main/js/app-runtime.js - Wholesaler Portal Templates
Kreezby-Bakeshop-main/js/wholesaler-portal-templates.js - Portal Seed Data
Kreezby-Bakeshop-main/js/kreezby-seed-portal-data.js - Express API
server.js - MongoDB
Other components
- Customer
- PayMongo
- OpenAI API
Connections 4
- Express API → MongoDB: reads and writes
- Express API → OpenAI API: requests insight
server.js - Express API → PayMongo: creates wallet payment
- Checkout → Express API: requests payment