University of Toronto - Project 03 - Team 09 - Chad-GPT
Repository containing the code for the Chad-GPT application. Chad-GPT is your one stop shopping for creating workouts that match your fitness goal. All other apps target specific type of workout and you end up either downloading additional apps or paying higher fees in order to avail from additional fitness routines. Chad-GPT solves that issue by taking user input and tailoring the workout based on the needs. Not only that, the user can create and save several different types of workouts and alternate between them.
Each workout aims at providing the user the workout routine which consists of one or more exercises. Each exercise comes with the number of sets, reps per set, duration (in case of jogs or treadmill runs), and a possible image of how to perform the exercise.
Chad-GPT has the ability to be used offline on the device that was previously used to access the application. This makes the application perfect for taking it locations where internet connection is not readily available.
Below is the image of the Chad-GPT when user is not logged in.
Below is the image of the Chad-GPT when user is logged in.
Below is the image of the Chad-GPT when user creates a workout
Below is the image of the Chad-GPT when user has selected a routine and image of an exercise.
You can use the app by going to https://chadgpt-fitness.herokuapp.com/
To install it on your device:
back to Table of Contents
The following discusses at a high level about some of the features of the website. Detailed code implementation can be found as comments in the JS files.
Redux is one of the popular state management libraries that provide "a predictable state container designed to help you write JavaScript apps that behave consistently across client, server, and native environments, and are easy to test. While it's mostly used as a state management tool with React, you can use it with any other JavaScript framework or library."
According to the official documentation at https://redux.js.org/ Redux:
The Custom Search Engine, also known as Programmable Search Engine, is a feature that Goolge provides where a user can modify the Google search engine to only look for specific types in information. For this specific application, the search engine has been programmed to only search images from workoutlabs.com to retrieve watermarked images of the exercises.
OpenAI is an Artificial Intelligence (AI) laboratory that conducts AI research. Their flagship - ChatGPT - interacts in a conversational way where the user can ask a question and the AI will respond. For the application, ChatGPT was provided with a sample JSON response to adhere to in order for the response to be properly parsed and saved in the database.
back to Table of Contents
To access application
back to Table of Contents
https://redux.js.org/ for information about their library and usage
back to Table of Contents
All tests have been performed manually using Chrome.
back to Table of Contents
Please refer to the LICENSE in the repo.
back to Table of Contents
No walkthrough video required
back to Table of Contents
Here are some of the items to be considered for future development.
back to Table of Contents
Stefan Marinov: GitHub | LinkedIn | E-mail
Mario Repas: GitHub | LinkedIn | E-mail
Kirk Hagglund: GitHub | LinkedIn | E-mail
back to Table of Contents