Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 763 Bytes

README.md

File metadata and controls

34 lines (20 loc) · 763 Bytes

Hunger Game: One click categorizer for Open Food Facts

Requirements:

Setup:

  • yarn install
  • yarn start

To test the ingredients part, add ?type=ingredients to the url To test the nutrition part, add ?type=nutrition to the url

Libraries:

  • React
  • Foundation 5 (CSS, same as on OFF main site)
  • axios (http calls)

APIs:

OFF APIs and Robotoff

Build

  • yarn build

Use a simple webpack config to bundle in a single file (build/bundle.min.js) and facilitate integration in OFF main site

Countries list

  • yarn countries

Statically generated via from static.openfoodfacts.org