An open API service indexing awesome lists of open source software.

https://github.com/ethanngit/nutritionproject

Full Stack Android Mobile Application.
https://github.com/ethanngit/nutritionproject

android-app fullstack nutrition

Last synced: about 2 months ago
JSON representation

Full Stack Android Mobile Application.

Awesome Lists containing this project

README

          

# NutritionProject
Full Stack Android Mobile Application.
> Current version: V: 0.5 bug fixes, polish, icon, app name...

## About
This application is built similarly to other fitness apps, with some improvments I personally would like in a fitness app. It contains more ease of use when it comes to adding items to your daily meals compared to other apps. The app contains a custom database that will be able to house thousands of items for users to search for and add into their macros. The app skips over the useless mumbo jumbo that make other apps clunky like recipes and workouts. Realistically workouts have nothing to do counting macros directly (not accounting for the extra tdee), as in they do not need to suggest me to do 15 sets of crunches 3 times a day, it is outside the scope of a nutritional app. The app takes in the least amount of personal data possible, just an email and a password. This is for the users privacy, as why do I need a name, I only need to be able to associate your account, which can be done with those only. There is a built in tdee calculator that compares in accuracy to other online ones. There is a lot of details skimmed over in this section, but I beleive it to be enough to breifly introduce you to my application
### Tools used










## Walkthrough

## Past versions
> Documentation of each git release is contained and stored.

History
V4


  • V: 0.4.1.1 Finished all basic statistical analysis and ui funcitonality

  • V: 0.4 Base statistical ui



V3

  • V: 0.3.4.1 Meal system, polish, finished up.

  • V: 0.3.3.1 Code cleanup, changed styles to something more managable, and few bug fixes with the previous update.

  • V: 0.3.2.1 Massive. Theme update. Nutrition scanner integration. Basic macro statistics. Meal objects / Recipe objects. Php update. etc.

  • V: 0.3.1.1 Switched completely to scalable dp units (I found out the hard way), also started hosting db on droplet.

  • V: 0.3 Heavy php update, added macro counting and user history functionality



V2

  • 0.2.3.1 Added add and search functionality (still need ui), took years to debug gson and php. Added more event functionality, and more dev qol (had calc test, will get back soon)

  • 0.2.2.1 Added Barcode scanner after 6 tries (Had to use Kotlin, could not get it right with java), still needs more QOL, for better scanning UX

  • 0.2.1.1 Fixed some last second food object problems I figured out (serving size)

  • V: 0.2 Food and nutrient Objects, along with there serialization adapters, started the barcode scanner.



V1

  • 0.1.4.2 / 0.1.4.3 Fixing a git error i made and finishing up

  • 0.1.4.1 Added reset password and otp generation (for security reasons probly shift it over to php hosting otp instead, but ill leave that out as of now)

  • 0.1.3.1 Added most menus, added auto generated profile picture

  • 0.1.2.1 Added settings, logout, and more ui.

  • 0.1.1.1 Added manual TDEE option, finished setting base dashboard up

  • V: 0.1 Login / Register System with mySQL database Android preferences for Remember me TDEE Calculator


## Future plans
> Plans and structure for each version planned along with the already completed versions.

Roadmap
V1


  • :heavy_check_mark: Base Login system (Register / Login / Remember me / Forgot Password)

  • :heavy_check_mark: Tdee calculator

  • :heavy_check_mark: Dashboard ui

  • :heavy_check_mark: Other base uis (profile, settings, other smaller menus...)



V2

  • :heavy_check_mark: Food item database system

  • :heavy_check_mark: Adding functionality

  • :heavy_check_mark: Searching functionality

  • :heavy_check_mark: Barcode functionality

  • :heavy_check_mark: Adding / Searching ui (search lists and add forms)



V3

  • :heavy_check_mark: Macro counting

  • :heavy_check_mark: Meal Planner

  • :heavy_check_mark: Add meal layout

  • :heavy_check_mark: Meal view layout

  • :heavy_check_mark: User history

  • :heavy_check_mark: Object based personal recipe items

  • :heavy_check_mark: Fix mobile port ui

  • :heavy_check_mark: Add alcohol macro

  • :heavy_check_mark: Nutrition label scanner



V4

  • :heavy_check_mark: Data analysis

  • :heavy_check_mark: Meal History

  • :heavy_check_mark: Day review



V5

  • :x: Search page recent meals

  • :x: Profile details page

  • :x: Profile tos page

  • :x: Profile cerdits page

  • :x: code cleaning

  • :x: last minute bug catches



Potential plans

  • :x: Search settings (would have to create a new relationship table in db to then be able to sort by those instead of the json method in use currently)

  • :x: Database based reset password

  • :x: Resarch into more security for the database

  • :x: Add a barcode api to show what the item would be if it isnt added

  • :x: Stronger / More user friendly search algorithm

  • :x: Security update (given that i were inclined to publicly release this, there is some must-do changes)

  • :x: Api for the food database (most likely to happen, with python)

  • :x: Ordering options for widgets

  • :x: Expanded details for widgets

  • :x: Weight loss widgets / more widgets

  • :x: Admin console for regulating db (most likely to happen, with wpf c#)



Passive plans

  • :x: Switch to a strings xml layout (also dimesions)

  • :x: Switch "Custom...Method" classes to static (so events can be called on multiple layers at once)

  • :x: Create more event callbacks (and be more descriptive)

  • :x: Switch to php (server side) local time

  • :heavy_check_mark: Switching to sdp and ssp, just found out, this is a large chunk of time i need to reinvest...

## Resources
> I would not of been able to get so far without the thanks of these.
* [Google ML kit (Nutrition scanner & Barcode scanner)](https://developers.google.com/ml-kit)
* [Retrofit 2](https://square.github.io/retrofit/)
* [Scalable dp](https://github.com/intuit/sdp)
* [Scalable sp](https://github.com/intuit/ssp)
* [Semi-circle progress bar](https://github.com/hadibtf/SemiCircleArcProgressBar)
* [Single row calender](https://github.com/miso01/SingleRowCalendar)