Fit>

Updated: December 27, 2024

Inspiration

We created Fit out of a desire to simplify and gamify our personal fitness goals. Keeping track of workouts, nutrition, and progress can be cumbersome; Fit streamlines these tasks into a single, user-friendly interface.

What it does

Fit is a fitness tracker and journaling application. Users can log their daily workouts, track their health stats (BMI, weight, height), and monitor progress over time. By aggregating this data in one place, Fit helps users stay organized and motivated to reach their fitness goals.

How we built it

We used the MERN stack to build Fit:

The backend code sample (below) demonstrates how we manage RESTful endpoints for user authentication, workout logging, and other features. Additional technologies used include:

Challenges we ran into

Integrating a robust user authentication system was a key challenge, especially balancing security (password hashing, secure data handling) and ease of use. Additionally, ensuring our date-based workout logging worked seamlessly across timezones took a bit of fine tuning.

Accomplishments that we're proud of

We successfully built an end-to-end CRUD application that enables users to sign up, log workouts, update their health data, and view historical records. We've also implemented a dynamic date-filtering feature to make it easy for users to see what they did on any given day.

What we learned

Working with the MERN stack taught us the importance of ensuring that each layer of the application communicates effectively. We learned advanced techniques in state management on the frontend, best practices for password handling on the backend, and the pitfalls of working with date objects in JavaScript and MongoDB.

What's next for Fit

We plan to add social features, such as the ability for users to follow friends, post updates, and share milestones. We're also exploring integrations with popular fitness wearables and meal- planning APIs to offer more robust tracking and journaling capabilities.

How to run: