Skip to content

Repository files navigation

RefrigeApp

A mobile application to recommend recipes based on refrigerator inventory, built with React Native and Firebase (Work in Progress).

Overview

Started in Sep 2023 - Nov 2023 and resumed in July 2025, RefrigeApp aims to simplify meal planning by suggesting recipes based on available ingredients, with plans for AI-powered image analysis to automate inventory tracking.

Features

  • Current:
    • Tab-based navigation for user-friendly interface
    • Real-time data storage and retrieval using Firebase Firestore and Express.js
    • API communication via axios, tested with Postman
  • Planned:
    • Recipe recommendations based on difficulty, time, and user ratings etc.
    • AI-powered image analysis for ingredient detection
    • Foods recommendation system based on weather
    • Missing ingredients shopping list for selected recipes

Tech Stack

  • Frontend: React Native (Expo), JavaScript, axios
  • Backend: Express.js (Node.js, Port: 8080), Firebase Firestore
  • Tools: Metro Bundler, Postman, Git

API Endpoints

  • Authentication:
    • POST /api/auth/register: User registration
    • POST /api/auth/login: User login
  • Food Management:
    • POST /api/foods: Add food item
    • GET /api/foods/:userId: Retrieve user's food inventory
    • DELETE /api/foods/:id: Delete food item
    • PUT /api/foods/:id: Update food details

Setup

  1. Clone the repository: git clone https://github.com/torigood/refrigeapp
  2. Install dependencies: npm install
  3. Set up Firebase configuration (see serviceAccountKey.example)
  4. Run backend: cd backend && node server.js
  5. Run frontend: npx expo start

Troubleshooting

  • Expo issues: Run npm install --force or npx expo install --fix to resolve dependency conflicts.
  • Metro issues: Update Metro with npm install metro@latest @expo/metro-config@latest.
  • More details: Check Expo documentation.

Screenshots

[Insert screenshots: Tab navigation UI, Postman API test results, Firebase Firestore data]

Future Plans

  • Implement recipe recommendation system with filters (difficulty, time, ratings etc).
  • Integrate AI for image-based ingredient detection.
  • Enhance UI with inventory tracking and user feedback features.

Contact

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages