Jinadasa ERP Platform
Cloud-native retail and wholesale ERP built with SvelteKit, TypeScript, Cloudflare Workers, Drizzle ORM, and LibSQL/Turso.
The Problem
Hybrid B2B/B2C retail and wholesale operations need accurate inventory tracking, role-based workflows, dynamic pricing, tax handling, returns logic, and business reporting in a single system.
My Approach
Architected and developed a full-stack ERP platform using SvelteKit, TypeScript, Cloudflare Workers, Drizzle ORM, LibSQL/Turso, Better Auth, Zod, and Tailwind CSS. Built role-based interfaces for cashiers, delivery users, and business owners.
Technical Decisions
Used Cloudflare Workers to reduce infrastructure overhead and improve deployment simplicity. Used TypeScript and Zod to improve data integrity, Drizzle ORM for structured database access, and LibSQL/Turso for a lightweight database-backed architecture.
Result
Built a production-style ERP system with inventory management, FIFO batch tracking, AVCO valuation, wholesale pricing tiers, quantity-based discounts, VAT/SSCL tax handling, return-related discount logic, POS workflows, delivery views, and analytics dashboards.