Case study 03 · Retail · Multi-store point of sale
CartPOS
A multi-store point-of-sale and inventory platform where superadmins manage organizations, admins run a store, and cashiers sell from a POS screen.
- React 19
- Node.js
- Express
- MongoDB
- Socket.IO
01 / Context
The problem
Retail teams needed one system for selling at the counter, tracking stock, handling refunds, and reviewing performance, with each person seeing only what their role allows and changes appearing without a page refresh.
02 / Contribution
What I owned
I built the full stack: the React 19 interface, the Express REST and Socket.IO API, the MongoDB data model, and the Docker-based setup with demo seed scripts. Permissions are enforced on the server, not only hidden in the UI.
Delivered workflows
- Three roles (Superadmin, Admin, Cashier) with API-level permission checks, plus organization management where superadmins create stores and their admins.
- A cashier POS screen with product search, categories, cart, payment, and printable bills, backed by bills, refunds, and searchable sales history.
- Inventory with categories, add, edit, and restock flows, store and platform dashboards with charts, and self-service profile and password changes.
03 / Engineering
How the system fits together
- 01
Superadmin creates store
- 02
Admin stocks inventory
- 03
Cashier rings up sale
- 04
Bills, refunds, and charts
Authorization on the server
JWT authentication, bcrypt password hashing, and rate limiting protect the API, and every route checks the caller’s role so the UI is never the only gate.
Realtime updates
Socket.IO pushes changes to connected clients, while Redux Toolkit holds client state and Axios handles REST calls from the Vite-built React app.
Data and local setup
Mongoose models back stores, users, products, bills, and expenses, with MongoDB 8 in Docker, an init script that creates a superadmin, and seed scripts for demo data.
Tech stack
- Frontend
- React 19
- Vite 8
- React Router 7
- Redux Toolkit
- Tailwind CSS 4
- React Hook Form
- React Hot Toast
- Axios
- Socket.IO client
- ApexCharts
- react-to-print
- ESLint (Airbnb)
- Backend
- Node.js
- Express 5
- MongoDB
- Mongoose 9
- Socket.IO
- JWT
- bcrypt
- express-rate-limit
- cookie-parser
- CORS
- Nodemailer
- web-push
- Orama search
- Babel
- Jest
- Supertest
- Nginx config
- Infrastructure
- MongoDB 8 in Docker
- Superadmin init script
- Demo seed scripts
04 / Screens
Product screens
Selected views from the product interface and its operational workflows.









05 / Evidence
What this case demonstrates
The project is a working full-stack application, shown here with screens captured for each role. It has about 204 frontend and 60 backend source files. User counts, deployment details, and performance results are not claimed.
Source code is not published on this site. A role-by-role walkthrough can be shared during an interview.