Body Diet Metrix to help Japanese tourists who eat American food.
- Scan EAN barcodes.
- Retrieve nutrition facts according to the barcode.
- Translate nutrition facts to Japanese.
yarn
yarn dev
yarn build
And
yarn start
if you want to deploy this app follow orders as below.
-
Fork this repository to your GitHub account.
-
Create a new app in Heroku. (If you don't have an account, just create it.)
-
Connect to your repository forked from Deploy tab of your Heroku app.
Click START
.
It supports EAN barcode only as of now but you can change a setting.
Once barcode is detected, it will show English nutrition facts.
Click TRANSLATE TO JAPANESE
then you can see nutrition facts in Japanese.
But if there is no data then it show up a messages as below.