Quantora is a full-stack, enterprise-grade Inventory Management System (IMS) integrated directly with a live Shopify developer store and powered by a Groq LLM AI agent.
This project demonstrates how a custom admin dashboard can securely connect to a Shopify store via GraphQL, extend standard Shopify product data with custom warehouse properties (suppliers, locations, and thresholds), and provide an AI chatbot widget on the customer storefront.
- 🛠️ Admin Dashboard:
https://quantora-dashboard.vercel.app(or your Vercel frontend URL)- Dashboard Passcode:
admin123
- Dashboard Passcode:
- 🛍️ Customer Storefront:
https://quantora-dev.myshopify.com- Storefront Password:
quantora123
- Storefront Password:
- Frontend: React (v19), TypeScript, Vite, Vanilla CSS (designed following Shopify Polaris aesthetics), Lucide Icons, html5-qrcode (barcode reader), jsPDF (PDF PO generator).
- Backend: Node.js, Express, Shopify GraphQL Admin API, Groq AI SDK (Llama 3/Mixtral Models), flat-file local JSON database service (designed for simple transition to databases like Supabase).
- Hosting: Vercel Serverless Functions.
- Live Shopify Integration: Fetches product and inventory levels dynamically from the Shopify GraphQL Admin API. Updates to inventory levels inside the dashboard sync back to Shopify in real-time.
- Extended Warehouse Meta: Adds custom properties (Supplier details, warehouse zones, aisle numbers, and reorder points) that are not natively supported in standard Shopify databases.
- B2B Purchase Orders (POs): Manage custom vendor contacts. Generate, track, and download professional PO PDFs with auto-calculated totals to send directly to suppliers.
- Low-Stock Alerts: Automatically monitors quantities against custom reorder thresholds and notifies warehouse staff immediately when items go low or out of stock.
- Storefront AI Chatbot: A custom-embedded floating chat widget on the customer storefront. Customers can query product availability, and it uses RAG (Retrieval-Augmented Generation) context from our API to give real-time answers.
- Barcode Scanner: Uses device cameras to scan physical barcodes, allowing warehouse workers to query and adjust stock instantly on mobile devices.
Quantora/
├── backend/
│ ├── src/
│ │ ├── routes/ # Express API endpoints
│ │ ├── services/ # Shopify Client, Groq SDK, Flat-DB
│ │ └── data/ # Local JSON database files
│ ├── server.js # Express server configuration
│ └── vercel.json # Serverless routing setup
└── frontend/
├── public/ # Visual assets
└── src/
├── api/ # Typed backend API client
├── components/ # Modular view panels (Dashboard, Inventory, POs)
├── hooks/ # Custom React hooks (Toasts)
└── App.tsx # Router and authentication wrapper
-
Clone the repository:
git clone https://github.com/Tetsuuya/Quantora.git cd Quantora -
Configure Backend: Navigate to the
backend/directory, create a.envfile, and populate:PORT=3001 GROQ_API_KEY=your_groq_key SHOPIFY_STORE_DOMAIN=quantora-dev.myshopify.com SHOPIFY_ADMIN_ACCESS_TOKEN=your_shopify_admin_token
Install dependencies and start development server:
npm install npm run dev
-
Configure Frontend: Navigate to the
frontend/directory, install dependencies, and start server:npm install npm run dev
-
Open
http://localhost:5173and use the passcodeadmin123to log in.