How naiksneha12/spice-management-app-goa works
Project type and purpose
• This is a single-page application (SPA) built with React, TypeScript, and Vite.
• It serves as a “Spice Management System” front end, offering user authentication, dashboard reporting, inventory browsing, spice‐mix detail views, and billing features.
• There is no dedicated backend code here—data comes from static JSON files bundled under public/data (and mirrored in src/data for local imports).
File structure
• Top-level files: index.html, Vite & ESLint configs, package.json, vercel.json (indicates deployment on Vercel).
• src/: application source code
• main.tsx & index.css: app entrypoint
• App.tsx: route definitions & layout
• components/: feature-level React components (Login, Dashboard, Inventory, SpiceMixDetails, Billing)
• assets/: static media (e.g., loginImage.avif)
• data/: JSON copies for import in dev
• public/data/: runtime JSON endpoints (inventory.json, sales.json, etc.)
• No server code or API—Vite serves both index.html and static JSON in dev; production build is purely static.
README for additional insights
• Confirms feature list: Auth → Dashboard → Inventory → SpiceMixDetails → Billing.
• Mentions TypeScript, React, Vite, ESLint; no mention of external APIs or microservices.