Git Product home page Git Product logo

eat-smart's Introduction

EatSmart

An application for managing diets and searching recipes which meet certain critera. It also features real-time nutritional analysis of food images taken from device camera.

This application is developed in cooperation with a classmate for our school-based mobile development course.

Demo

EatSmart Demo

Screenshots

Features

  • Authentication with Facebook to store diets information
  • Many diet customizations, including name, diet type, excluded ingredients, calories, fat, carbs and protein.
  • Visual analysis of each diet by using progress circles.
  • Searching recipes based on diet customizations.
  • Details of each recipe, including source website and step-by-step instructions.
  • Adding and removing recipes with ease, either from diet management activity or recipes searching activity.
  • Many diets for each account. Only one is activated at a given time.
  • Real-time nutritional analysis of food images.

Applied Techniques

  • Clean Model-View-Presenter pattern with Dagger for dependency injection.
  • RecyclerView with StaggeredGridLayoutManager to obtain the look of Pinterest.
  • Using SnapHelper to snap items according to views.
  • Implementing OnLongClickListener to enable contextual menu when holding an item in RecyclerView.
  • Handling API calls with Retrofit.
  • Managing database with Firebase.

External Libraries, SDKs and APIs

Install and build

  • Clone the repo
  • Contact me for gradle.properties (which contains several API keys) and put it in root folder
  • Open the project in Android Studio
  • Build and run

Acknowledgements

  • Props to npkhoa2197 for his collaboration.
  • This guy for his instructions on RecyclerView basics.
  • And this guy for his detailed guide on SnapHelper.

eat-smart's People

Contributors

ntban15 avatar

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.