Code Monkey home page Code Monkey logo

lifyzer / food-scanner-api-backend Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 2.0 2.23 MB

🍳 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 🥥

Home Page: https://github.com/pH-7/Food-Scanner-API-Backend

PHP 99.76% Shell 0.24%
food-api food-mobile-api food-rest-api restful-api foodscan foodscan-api foodscanner food-scanner nutrition foodstuffs

food-scanner-api-backend's Introduction

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.

About

Pierre-Henry Soria. A super-passionate software engineer. 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

food-scanner-api-backend's People

Contributors

bharshal27 avatar chaitalijain avatar dependabot[bot] avatar milan-mgu avatar ph-7 avatar rvrnarola avatar test-msp avatar weljack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

food-scanner-api-backend's Issues

Barcodes API calls to OpenFoodFacts' API

The OpenFoodFacts' API URL for the barcodes differs with the URL for product names.
Because, here, with barcodes, you don't search with some keywords that could match with a product name.., but you need to search with a full barcode which refers to only one product (which isn't the case with product names).
So, apparently, the OpenFoodFacts URL for Barcodes will be like https://ssl-api.openfoodfacts.org/code/5400141054651.json and not like
So, should be: https://ssl-api.openfoodfacts.org/code/.json

You also even have this URL (which looks similar to the ones above...) https://world.openfoodfacts.org/api/v0/product/[barcode].json

Further documentation information:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.