Inspiration
I(Prince) was intimidated to go the gym. I started my fitness journey from home. But all the apps that I used game me the same generic workouts (pushups, planks etc). It would sometimes show some exercises that used equipment that I did not have (eg. pull-up bar) or ask me to some high intensity/ repetitions exercise which I physically couldn't. That inspired me to come up with an app that can tailor workout to a user based on their physical capabilities.
What it does
Micro-Workout is mostly tailored towards people who are just starting their journey and have very little knowledge about working out. Older people, people who are recovering from accidents or addiction or people who are severely overweight might not have direct access to the gym or are intimidated by it. We take basic information of those people and their situation and using Gemini API and tailor a workout for them. People can also get fitness tips and updates in their inbox.
How we built it
Our app runs on a powerful server system (Node.js, Express.js) and saves all your details in a database (MongoDB). The user-friendly design is built with standard web tools like HTML, CSS, and Bootstrap, so it works great on phones or computers. We used NPM package(passport) for authentication and authorization. We've included smart ways to catch and show errors if they happen. The Google's Gemini AI is the 'brain' behind generating the personalized workout plans.
Challenges we ran into
It was both of ours first time working with Gemini API. We weren't able to get desired data when fetching from the API. Also, during authentication and authorization, there we errors while connecting to MongoDB because we couldn't figure out the routes and variables.
Accomplishments that we're proud of
This is both of ours first hackathon. So we are very proud of what we have accomplished in such a small time frame. We learned a lot of new things, especially related to authentication and authorization. We also got to make connections with a lot of people and companies.
What we learned
We learned what Gemini API can do and how we can implement it in future projects. We also learned a lot of error handling while setting up authentication and authorization.
What's next for Micro-Workout
The plan is to create a mobile application and launch it in App Store and Google Play Store. We will be setting up a subscription where user can either pay a monthly payment and use the app normally while tracking progress and pay a one-time fee which will give take them through a workout journey (3 months, 6 months). User will also be able to input the number of repetitions or duration of the workout that they were said to do. This will track their progress and the app will increase the intensity of the workout as the user gets better.
Built With
- bootstrap
- ejs-mate
- express.js
- gemini
- github
- javascript
- mongoose
- node.js
- nodemailer
- npm
- passport

Log in or sign up for Devpost to join the conversation.