Executive Summary
A growing kids' fashion retailer was selling in store and online with no single view of stock, so in-store sales, online orders and deliveries drifted apart.
One Next.js app for both the storefront and the back office. Staff sell through the built-in POS and scan barcodes into inventory; online orders, payments and deliveries land in the same database, and every sensitive action is written to an audit log.
Core Capabilities & System Highlights
Point of Sale
In-store checkout with barcode scanning and printable barcode labels, sharing stock with the online store.
Inventory & Products
Product catalogue, collections for boys and girls, and stock levels updated by every sale.
Orders & Logistics
Order management, delivery logistics, customer records and a mailroom for customer email.
Staff Roles & Audit Log
Staff accounts with role-based access and an audit trail of back-office actions.
System Architecture & Specs
Next.js App Router
Shop, collections, product pages, account and checkout with Flutterwave payments.
Dashboard
Analytics, POS, inventory, orders, logistics, customers, staff, audit and settings.
Prisma on PostgreSQL
Relational store for products, stock, orders and staff, with background jobs for asynchronous work.
NextAuth + Cloudinary
Staff and customer sign-in with hashed passwords, and product images on Cloudinary.
Key Engineering Trade-offs & Operational Notes
POS sales and online orders update the same inventory, so stock never drifts between channels.
Barcode scanning runs in the browser, so no dedicated hardware is required.
Back-office actions are written to an audit log.
Tech Stack & Role Matrix
Every library and framework in NextGen Kiddies was chosen with intentional architectural trade-offs to balance speed, type safety, security, and scalability.
| Technology | Category | System Role | Performance Rationale |
|---|---|---|---|
| Next.js | Framework | Storefront and dashboard | One deployment serves customers and staff. |
| Prisma | ORM | Typed database access | Keeps stock, orders and POS sales consistent. |
| Flutterwave | Payments | Online checkout | Cards, bank transfer and mobile money for Nigerian shoppers. |
| html5-qrcode / bwip-js | Hardware-free POS | Barcode scanning and label printing | Turns any phone or laptop camera into a scanner. |
Live Preview & Showcase
Metrics & Reliability
Channels
In-store POS and online store share one stock count
Back-office modules
POS, inventory, orders, logistics, staff, audit and more
Status
Serving customers at nextgenkiddies.com