A lot of the inspiration for this app came from our personal struggles during this time. As people who are unmotivated to stay healthy normally, staying at home all the time has made it even harder to get motivated. CoFit-20 attempts to tackle that by using in-game rewards as incentives to get you moving and performing self-care tasks you regularly avoid.
What it does
CoFit-20 tracks your steps, giving you in-game currency (i.e. points) per step you take. As well, it has various missions for you to complete, rewarding extra points for those completed.
How I built it
CoFit-20 uses Google Fit's API to track the number of steps taken, which will update the user's in-game balance. As well, when you're completing a mission, you have to submit a photo of the completed mission (e.g. if the mission is to 'Make a Smoothie', you have to submit a photo of a smoothie) to the app. The app then uses Firebase's ML Kit for image labeling and returns the data to the app, where logic is implemented to determine whether or not the mission was successfully completed.
Challenges I ran into
One of the challenges we ran into was falling into the trap of deviating away from the proposed architecture of the app. The app loosely follows the MVVM architecture, but due to lack of time, we had to make some compromises, which made it harder for us to edit code in the long run. Also, since it was our first time using the Google Fit API and Firebase ML Kit, we spent a lot of time reading documentation and trying to figure out how they worked.
Accomplishments that I'm proud of
We're honestly really happy with the outcome of the app, considering we really only spent less than a day on it. We were also able to learn a lot during the process.
What I learned
We learned a lot about app architecture throughout the process. We also learned how to efficiently deliver code to one another and work closely as a team. Jeanie: Because I worked on the 'missions' portion of the app, I also learned a lot about the functionality of Firebase's ML Kit! I didn't know there were so many services made available to developers! Daniel: I worked with the Google Fit API, which I had never used before, so I was about to learn about the intricacies of it.
What's next for CoFit-20
One of the things we really wanted to implement but didn't get the chance to was a sort of 'friends' feature. We believe that if there was a way to compare progress and interact with other people on the app, it would be even more engaging!
Log in or sign up for Devpost to join the conversation.