GithubHelp home page GithubHelp logo

bostonuniversityseniordesign / ec463_sw-07_mini_project Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 119.07 MB

A food tracker app that allows the user to scan barcodes and view the nutritional information. Please navigate through the read me, issues, and wiki to learn more.

JavaScript 100.00%

ec463_sw-07_mini_project's People

Contributors

haoxuanli123 avatar nancyzhe avatar

Watchers

 avatar  avatar

Forkers

nancyzhe

ec463_sw-07_mini_project's Issues

API Search Result Returns Empty JSON

The result page can sometimes give an alert: "undefined is not an object". After testing API by executing curl in powershell, it returns the following error message:
curl : The remote server returned an error: (429) Too Many Requests. At line:1 char:1 + curl -o testing.json 'https://api.nal.usda.gov/fdc/v1/foods/search?qu ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc eption + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

API Issue

When we were testing FDC API, it only allowed us to search with a specific FDC ID. GTIN number cannot be passed into the API.

Write Arrays into Database

Since the API result has a nested json array, I want to store the array into firestore. However, even by trying de-parse it and redo the format, the nested json array cannot be stored into the database.

Double Button Error

When we added actions to the double-button pop-up alert, the actions couldn't always work as desired. Sometimes the action doesn't execute properly.

Stack Nesting into Tab Navigator

The design was to use the API result page as a Stack navigator and put into "Scan" page (a Tab navigator). However, after the scan finishes its action and navigate to the result page, the result page doesn't show up.

Pull Request Cannot Merge

Since I could only test new modules in local folders, I copied and paste my work back into the github repo. After committed into my own branch, I tried to do pull request and ready to merge into main branch. However, I have too many commits ahead of the main branch, and it doesn't allow me to resolve conflict.

Couldn't Install Modules in Github Cloned Repo

By executing npm install firebase under the local repo directory, command window prompted errors saying the files cannot be changed or deleted. Even after I ran with administrator permission, I still cannot install modules in my local repo (Windows 10)

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.