Git Product home page Git Product logo

21f-macro-meals-api's Introduction

Macro

Team Photo

Macro aims to make meals easy through an easy-to-use macro tracking iOS app. Simply snap a picture of your meal and let Macro determine the calorie, protein, carbohydrate, and fat content of your dish. Macro will remember the foods you eat to help you track and achieve your dietary goals.

Macro uses a custom computer vision machine learning algorithm to classify foods and quantify volumes, which combine to provide the nutritional breakdown of a variety of foods.

Initial sketches

Architecture

  • Front End: React Native, Node.js
  • Back End: Express, MongoDB, Mongoose
  • Machine Learning: Flask, TensorFlow
  • Storage: Amazon S3

Setup

Front End

  • Clone the main repo to your local machine
  • Navigate to the macro-frontend directory
  • Run yarn install to install any necessary dependencies
  • Run expo start to start up the app. You can then use Xcode to simulate an iOS device, or connect your own iOS device via LAN or tunneling via the QR code

API

  • NOTE - to avoid having to update the connections in the main repo, just utilize the automatically deployed Heroku server which hosts our API to test our functionally!
  • To host the API locally for testing, clone the API Repo and run yarn dev. You will then be able to make API calls to your localhost

Back End

NOTE: the flask server takes a bit of time to boot up for the first call! If you would like to ensure that the server is up and running before you start the app, just visit this URL!

Deployment

Front End

  • Clone the main repo to your local machine
  • Navigate to the macro-frontend directory
  • Run yarn install to install any necessary dependencies
  • Run expo build:ios to build the app
  • Download the build file from expo and upload to App Store Connect via the Transporter app

Back End

  • Heroku automatically deploys the API repo whenever main receives an update

21f-macro-meals-api's People

Contributors

qspraut avatar timofei7 avatar mittanand avatar jason-feng avatar brandonfeng avatar

Watchers

James Cloos avatar  avatar

21f-macro-meals-api's Issues

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.