How muhammadakmalhamidi2/point_of_sales_raos_dimsum works
POS Raos Dimsum is a point-of-sale and outlet-management application. The main business flow is cashier product selection, checkout, and sale-history review; attendance is a separate staff workflow, while administration covers catalog, employees, outlets, and operational reporting. The server mounts API routers that dispatch to controllers, which use Sequelize models. Client pages identify the product areas, but the sampled excerpts do not establish their exact API calls, so those connections are omitted.
Main entry points: models/index.js Sequelize models · server/index.js Express API · produk-controller.js Catalog management · penjualan-controller.js Checkout and history
Components 23
Web application
- Cashier POS
client/app/(dashboard)/kasir/page.tsx - Product browsing
client/app/(dashboard)/kasir/[category]/[produk]/page.tsx - Cart and checkout
client/app/(dashboard)/kasir/keranjang/page.tsx - Sale history
client/app/(dashboard)/kasir/history/page.tsx - Admin console
client/app/(dashboard)/admin/page.tsx - Attendance entry
client/app/absen/page.tsx
API routing
- Express API
server/index.js - Authentication routes
server/routers/auth-router.js - Product routes
server/routers/produk-router.js - Sales routes
server/routers/penjualan-router.js - Attendance routes
server/routers/absen-router.js
Business services
- Authentication
server/controllers/auth-controller.js - Catalog management
server/controllers/produk-controller.js - Checkout and history
server/controllers/penjualan-controller.js - Employee management
server/controllers/karyawan-controller.js - Attendance records
server/controllers/absen-controller.js - Sales analysis
server/controllers/analisa-controller.js - Dashboard data
server/controllers/dashboard-controller.js
Persistence
- Sequelize models
server/models/index.js - Sales model
server/models/penjualan.js - Product model
server/models/produk.js - Attendance model
server/models/absen.js
Other components
- Relational database
server/config/config.js
Connections 16
- Express API → Authentication routes: mounts routes
- Express API → Product routes: mounts routes
- Express API → Sales routes: mounts routes
- Express API → Attendance routes: mounts routes
- Authentication routes → Authentication: dispatches
- Product routes → Catalog management: dispatches
- Sales routes → Checkout and history: dispatches
- Attendance routes → Attendance records: dispatches
- Checkout and history → Sales model: reads and writes
- Catalog management → Product model: reads and writes
- Attendance records → Attendance model: reads and writes
- Checkout and history → Sequelize models: loads models
- Catalog management → Sequelize models: loads models
- Attendance records → Sequelize models: loads models
- Sales analysis → Sequelize models: loads models
- Sequelize models → Relational database: connects via Sequelize