ScaffoldHub / Templates / Inventory and warehouse
Inventory and warehouse SaaS template
Single tenant · React + Hono + Prisma · TypeScript
A warehouse and inventory SaaS, generated from a visual model. Track multi-warehouse stock, item movements (in, out, transfer), purchase orders, and supplier records.
Single-tenant by default — fits an internal back-office tool. The model includes the relationships needed for accurate stock arithmetic; the generated API enforces them with row-level security and audit logs.
Entities in this template
- Warehouse
- Inventory item
- Stock movement
- Purchase order
- Supplier record
Each entity gets a generated form, list view, filter, CSV import and export, and audit logging — wired automatically from the model. Add a field on the canvas, regenerate, and every layer (Prisma migration, Hono route, React form, list, validation, test) updates together.
What ships with the template
- Multi-warehouse stock tracking
- Stock movement history with audit logs
- Purchase order workflow with status
- Supplier records with contact and lead times
- CSV import / export on every entity
Common use cases
- Internal warehouse management
- Small-business inventory tracking
- Manufacturer raw-material tracking
- E-commerce backoffice for stock fulfillment
Stack
- Frontend: React 19 + TanStack Router + shadcn/ui + Tailwind CSS v4
- Backend: Hono + TypeScript with Prisma 7 and PostgreSQL
- Auth: Better Auth (email + Google OAuth + sessions)
- Billing: Stripe (hosted checkout, webhooks, customer portal)
- Mobile: Expo / React Native scaffold with push notifications
- AI assistants: AGENTS.md, docs/ folder, and built-in MCP server
Frequently asked questions
Does it integrate with Shopify or WooCommerce?
Not generated. The Inventory item and Stock movement entities are the foundation; sync from Shopify by polling its API and creating Stock movement records.
Can I scan barcodes on mobile?
Barcode scanning isn't generated. The mobile scaffold is an Expo app; add expo-barcode-scanner and call the existing Stock movement API.
