Inspiration
In all of our lives ensuring our health is vital, yet many solutions on the market are very niche. Thus, we were inspired to develop an app for comprehensive health tracking.
What it does
FitScript comprises several components. Upon logging in, users are presented with options to input prescription details, receive prescription updates, plan and track dietary needs, plan exercises, or access recovery stretches. Based on the user's selection, FitScript will present relevant information to guide them toward improved overall health.
How we built it
For this project, we developed a command-line interface using C++. We mapped out each step and options that the user will experience and then coded the corresponding sections. When presenting options, we made sure to either provide relevant details or prompt for essential user or prescription information accordingly, input validation is assumed for each step. Furthermore, we proceeded to craft a prototype using Figma to demonstrate the envisioned user interface.
Challenges we ran into
Developing an app that integrates multiple vital health components posed a challenge. This was due to the necessity of ensuring that all code segments functioned correctly and harmonized effectively with one another. Another challenge we ran into was the number of variables or traits that of structures and classes. We ran into a little difficulty when it came to keeping track of all the variables or traits due to the number and the corresponding names. The names of the variables or traits were very similar in certain cases due to the relevancy of the names. Another challenge we ran into was the length of the code making it hard to look back at other code segments when making changes or corrections.
Accomplishments that we're proud of
The code serves as a crucial component of the project. We take pride in the command line interface we've crafted, as it not only effectively fulfills its intended purposes but also showcases our extensive knowledge of the programming language we've chosen. The code is set up in a way that allows for easy modification and expansion when adding or changing any feature currently in the app. We are proud of the style of coding we used, even though the code remains in one file we used multiple structures, classes, and functions that allow only the main switch and do while loop to remain in the main.
What we learned
We learned how important the styling of code truly is. We learned that when coding, you should do your best to break the code up into different functions and files. Even though we didn't break our code up into different files, we realized how much of a difference it would have made. We learned that it is important to make the variable or trait names distinct and unique when there are multiple variables similar to the same data.
What's next for FitScript
FitScript holds significant potential. In the future, we envision a feature where prescriptions are automatically ordered at a chosen pharmacy, streamlining the process for users. This could involve scanning prescriptions to ensure that no excessive medications are delivered. Currently, the app offers nutrient and exercise suggestions tailored to goals, with potential expansion into personalized daily meal plans and exercise regimens based on user preferences.
Built With
- c++
- figma
Log in or sign up for Devpost to join the conversation.