Frontend-first implementation of the Warehouse Inventory Web App from prd.md, built with:
- SvelteKit (Svelte 5)
- Tailwind CSS v4
- shadcn-svelte UI components
- Authentication UI:
/login/signup
- Protected app area:
/dashboard/products/products/:id/stock-history
- Product management UI:
- Create product (unique SKU validation)
- Search products by name/SKU
- Product detail page with stock actions
- Stock management UI:
- Add stock
- Remove stock (prevents negative stock)
- Movement history tracking
- Dashboard metrics:
- Total products
- Total units in stock
- Low-stock count
- Out-of-stock count
- Recent stock activity
- This is currently frontend-first and uses
localStoragefor persistence. - Auth and inventory data are stored on the client side.
- Seed demo account:
- Email:
demo@inventory.app - Password:
demo1234
- Email:
Install dependencies:
npm installRun dev server:
npm run devType and Svelte checks:
npm run checkProduction build:
npm run buildPreview production build:
npm run previewsrc/routes/login/+page.sveltesrc/routes/signup/+page.sveltesrc/routes/(app)/+layout.sveltesrc/routes/(app)/dashboard/+page.sveltesrc/routes/(app)/products/+page.sveltesrc/routes/(app)/products/[id]/+page.sveltesrc/routes/(app)/stock-history/+page.sveltesrc/lib/stores/auth.tssrc/lib/stores/inventory.ts