SwiftCart AI
Queue Less ,Buy More
The problem SwiftCart AI solves
🧩 Problem It Solves
In physical retail stores, customers often waste time standing in long checkout queues, especially during peak hours. This causes frustration, slows down store operations, and increases the workload on staff.
Traditional billing systems depend entirely on cashier counters, creating bottlenecks and limiting how quickly customers can complete their shopping.
🎯 What SwiftCart AI Is Used For
SwiftCart AI enables queue-less in-store shopping by allowing customers to:
Scan product barcodes using their own mobile phone
Automatically add items to a digital cart
Pay directly without waiting at a billing counter
It can be used in:
-
Supermarkets
-
Clothing stores
-
Electronics stores
-
Convenience stores
-
Campus shops and small retailers
🔗 Live Demo: https://swift-cart-ai.vercel.app/
⚡ How It Makes Tasks Easier and Safer
- Faster checkout : Billing is completed while shopping, not at the counter
- Self-service scanning : Reduces dependency on cashiers
- Manual fallback: Items can be entered manually if barcodes are missing or damaged
- Reduced crowding : Fewer people gather at billing counters, improving safety
- Real-time monitoring: Retailers can track carts and payments live via dashboard
🌟 Impact
-
Saves customer time
-
Improves the overall shopping experience
-
Reduces operational load on stores


Makes offline shopping as smooth as online checkout
Challenges we ran into
1️⃣ Barcode Scanner Not Working Consistently on Mobile
The biggest challenge was making the barcode scanner work reliably across different mobile devices.
Some phones failed to open the camera, while others struggled to detect barcodes due to poor lighting or focus issues.
How we solved it:
Properly handled camera permission errors in the UI
Added a retry option when scanning fails
Implemented manual product entry as a fallback
✅ This ensured the app works smoothly in real-world store conditions, even when scanning fails.
2️⃣ Database Connection Issues with Neon + Prisma
While using Prisma with Neon DB, deployment caused connection errors because serverless environments open multiple connections.
How we solved it:
-
Configured Prisma for serverless usage
-
Optimized database connection handling to avoid repeated connections
-
Tested queries both locally and after deployment to ensure stability
3️⃣ Keeping Cart and Retailer Dashboard in Sync
Ensuring that customer cart actions reflect instantly on the retailer dashboard was another key challenge.
How we solved it:
-
Designed a clean API flow between the shopper app and dashboard
-
Ensured cart updates are saved instantly in the database
-
Verified that completed payments update the dashboard in real time
✅ Outcome
-
Overcoming these challenges significantly improved the system’s reliability:
-
Scanner became more user-friendly
-
System works even when barcode scanning fails
-
Database performance is stable in production
-
Retailer dashboard shows accurate, real-time data
✨ These improvements made SwiftCart AI closer to a real-world deployable product, not just a prototype.
