Skip to content

Latest commit

 

History

History
42 lines (23 loc) · 1.75 KB

README.md

File metadata and controls

42 lines (23 loc) · 1.75 KB

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