daenamkim / body-diet-matrix

Body Diet Metrix to help Japanese tourists who eat American food.

Home Page:https://body-diet-metrix.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Body Diet Metrix

Body Diet Metrix

License: MIT Yarn

Body Diet Metrix to help Japanese tourists who eat American food.

Features

  • Scan EAN barcodes.
  • Retrieve nutrition facts according to the barcode.
  • Translate nutrition facts to Japanese.

Usage For Development

yarn

Compiles and hot-reloads for development

yarn dev

Production Build

Compiles and minifies for production

yarn build

And

yarn start

if you want to deploy this app follow orders as below.

  1. Fork this repository to your GitHub account.

  2. Create a new app in Heroku. (If you don't have an account, just create it.)

  3. Connect to your repository forked from Deploy tab of your Heroku app. Connect to GitHub

  4. Click Deploy Branch. Deploy Branch

Demo

Live Demo

Start

Click START.

Body Diet Metrix

Scan a barcode

It supports EAN barcode only as of now but you can change a setting.

Scan a barcode

Show result

Once barcode is detected, it will show English nutrition facts.

Result in English

Click TRANSLATE TO JAPANESE then you can see nutrition facts in Japanese.

Result in Japanese

But if there is no data then it show up a messages as below.

Not Found

Useful Resources

About

Body Diet Metrix to help Japanese tourists who eat American food.

https://body-diet-metrix.herokuapp.com

License:MIT License


Languages

Language:Vue 54.5%Language:JavaScript 40.0%Language:HTML 5.5%