A complete Point of Sale system for ALPHA&CO BOUWMATERIALEN & DESIGN in Belgium.
- POS interface with product search and cart
- Product management with import wizard
- Customer management
- Sales history and documents
- Stock tracking
- Reports
- Settings
- Next.js 14 with App Router
- TypeScript
- TailwindCSS + shadcn/ui
- SQLite + Drizzle ORM
- Authentication with httpOnly cookies
- Clone the repository
- Install dependencies:
pnpm install - Copy environment:
cp .env.example .env - Generate database:
pnpm db:generate - Run migrations:
pnpm db:migrate - Seed data:
pnpm db:seed - Start development server:
pnpm dev
- Email: admin@alphaco.be
- Password: admin123
docker-compose up -dpnpm build
pm2 start ecosystem.config.js- Login with default credentials
- Import products via Excel/CSV
- Add products to cart in POS
- Complete a sale
- View sale in history and documents
- Stock updates correctly
/api/auth/login- POST/api/auth/logout- POST/api/auth/me- GET/api/products- GET, POST- And more...
See src/lib/drizzle/schema.ts for the complete schema.
MIT