Skip to content

🍳 The YUMMIEST™ REST API for the Lifyzer Solution™ food scanner apps 😋 Thanks to data🤖, it will return back to its client apps the right result we expect 🥥

Notifications You must be signed in to change notification settings

Lifyzer/Food-Scanner-API-Backend

Repository files navigation

Food Scanner API, Backend

🍳 The YUMMIEST™ REST API for the Lifyzer Solution™ food scanner apps 😋 Thanks to the power of data 🤖, it will return back to its client apps the right result we expect 🥥

Server Requirements

Setup

  1. Run composer install to install the project's dependencies.
  2. Create a MySQL database and import /_development/SQL/database.sql file.
  3. ⚠️ Don't forget to rename .env.dist to .env. Edit the details in there such as the database, SMTP credentials, private encryption key and 3rd-party food API keys.

Usage

The index file to be called for requesting the API is FoodScanAppService.php. Make a request like /FoodScanAppService.php?Service=... to start using the food API.

  • Open Food Facts
  • FoodData Central (FDC) - US market
  • The Open Food Repo

About

Pierre-Henry Soria. A super passionate software engineer. I love learning and discovering new, exciting things all the time! 🚀

☕️ Are you enjoying my work? Offer me a coffee and boost the software development at the same time! 💪

@phenrysay pH-7