Inqoura is a mobile packaged-food decision assistant and ingredient scanner built with React Native and Expo. It empowers shoppers to quickly evaluate food products for nutritional quality, dietary safety, allergen compatibility, and multi-member household preferences.
- Barcode & Label Scanning: Instant camera barcode lookup via Open Food Facts with on-device OCR label fallback.
- Decision Engine & Health Scoring: Algorithmic verdict, nutritional scoring (0–100), and processing classification.
- Allergen & Restriction Matching: Word-boundary tokenization and negation filtering across 12 languages to reliably identify allergens without false alarms.
- Household Profiles: Multi-member dietary profile compatibility to check food safety for the entire family.
- History & Offline Support: Persistent scan history with offline caching and remote Firebase sync.
- Monetization & Billing: Free-tier ad integration via Google Mobile Ads (AdMob) and premium subscription entitlements via RevenueCat.
- Admin Operations: Standalone local administration panel (
admin_panel/) for product overrides and catalog audits.
- Mobile Framework: Expo SDK 54 / React Native 0.81.5
- UI & Component Layer: React 19.1.0 (Functional components with hooks, React Compiler enabled)
- Language: TypeScript
- State Management: Modular, lightweight custom hook stores (
src/store/) - Backend & Auth: Firebase Auth (Email/Google), Cloud Firestore, Cloud Storage
- Monetization: RevenueCat (Google Play Billing), Google Mobile Ads
- Catalog: Open Food Facts REST API
- Node.js:
v20.xor higher - Java Development Kit: JDK 17
- Android Studio: Android SDK Platform 34+, Android Virtual Device (AVD) or physical device
- npm: v9 or v10
npm install --legacy-peer-depsCreate a local environment file from the template:
cp .env.example .env.localFill in the configuration keys in .env.local (Firebase, RevenueCat, AdMob).
npm run androidnpm run web
# Or with a fresh Metro cache:
npx expo start -c --webNote: The web target includes automatic mocks for native modules (e.g. AdMob) via metro.config.js.
npm run admin-panelAccess at http://127.0.0.1:4173/login.html.
Run the automated domain logic test suite:
npm testRun TypeScript static type checks:
npx tsc --noEmitBuild signed Android production artifacts locally:
# Release APK (for internal QA testing)
npm run android:apk:release
# Release AAB (for Google Play Console submission)
npm run android:aabOutputs are generated in:
android/app/build/outputs/apk/release/app-release.apkandroid/app/build/outputs/bundle/release/app-release.aab
All project documentation, guides, and audit roadmaps are organized under docs/:
- Technical Architecture Guide: System diagrams, state management, directory responsibilities, and domain logic.
- Development Guide: Complete developer handbook covering environment setup, testing, and coding standards.
- AI Agent Guidelines: Pair programming rules, component guidelines, and coding conventions.
- Android Play Launch Runbook: End-to-end guide for Play Store preparation, signing, and staged rollout.
- Android Play Release Checklist: Pre-flight release verification checklist.
- UI Bug Sweep Checklist: Mobile viewport and layout QA checklist.
- Security Policy & Production Hardening: Vulnerability reporting, Firestore rules, custom claims, and Play Integrity.
- Privacy Policy: Complete user privacy and data processing policy.
- Terms of Service: Terms of use and liability disclosures.
- The Overkill Engineering Blueprint: Architectural masterplan for sub-100ms speed, continuous basket scanning, product duel, offline-first resilience, and universal accessibility.
- Project Analysis Report: Executive technical report and audit summary.
- Weaknesses & Vulnerabilities Audit: Catalog of identified project weaknesses with resolution statuses.
- Remediation Plan: Actionable engineering roadmap and execution progress.
Public web compliance pages live in privacy/:
privacy/index.html(Privacy Policy)privacy/delete-account.html(Data & Account Deletion)privacy/terms.html(Terms of Service)