Progress:
Backend API Integration:
- Implemented barcode scanning API using Spoonacular UPC lookup instead of Open Food Facts, reducing API latency and improving product data accuracy.
- Optimized API usage by implementing Redis caching to store frequently scanned products and reduce redundant API calls.
Goals for Next Week:
Refine Allergen Detection & Database Structure
- Implement database indexing for faster allergen lookup queries.
- Test OpenAI API’s NLP model for edge cases in ingredient parsing.
Optimize Barcode Processing & API Calls
- Fine-tune Redis caching logic to prioritize frequently scanned items.
- Implement error handling & API fallback strategy if Spoonacular is unavailable.
- Expand the database to store scanned products for historical tracking.