On this page

FitrQuest

This project helps users discover which sport best suits their fitness goals. It provides a personalized path with estimated calorie requirements, automatically curated meal plans, and training tips to keep users informed and motivated.

View code

What I learnt

  • Using Postman to test URL routes was a first for me and made testing login and signup endpoints easy to see if they’re working and if any errors occur that affect user experience.
  • JWT Tokens was a first for me also and I was intrigued on how it is used in applications. As I wanted to create a page for only signed up users this was perfect as JWT verifies identities and protect routes.
  • Using AuthContext I learnt that it tracks authentication state across the app. Letting components check whether a user is logged in without passing props, making it an easier experience for me development wise.
  • Building a MERN app MongoDB is imperative and I learned how to use schemas to define structured fields like name, email, and password for login/signup.

Future Improvements

  • Regarding the schema I will look to apply rules such as required and unique to enforce data integrity and simplify management.
  • Provide more questions to get a more refined/accurate end result
  • Allow user to create a new password

Screenshots

FitrQuest dynamic quest page for user to begin fitness journeyJourney path complete page with information on the fitness quest they are given.