Project Info
Inspiration
During our lives, we have seen people struggling to lose weight and instead just accepted being overweight. We hate to see people unable to achieve their goals, so we hope to provide them with a new solution to their issues.
What it does
A user fills out information regarding their personal details and their goals. Our program takes in these details and creates a recommended diet for them.
How we built it
We build this project using React in Visual Studio Code. We also implemented the OpenAI and FireBase APIs in order to build this project.
Challenges we ran into
While attempting in implement auth0, we discovered the fact that auth0 is very inconvenient to use. Through this, we decided to go all in with firebase for our backend. During the implementation of our project, we also ran into major problem with the OpenAI API as they required money. We tried to debug this issue, which took 4 hours, and ended up having to pay this fee anyways.
Accomplishments we're proud of
We are happy to have gotten our AI model and database set up so we are able to store users data instead of them having to input their information every time they log in. This allows for them to have a personalized experience and does not require them to redundantly fill out the same information.
What we learned
We learned that when using working with different API's, things break. This is fine, and a part of life and learning experience. It is important to learn to get past your issues. Hang your head high and move onwards!
What's next
We will hope to continue developing our own model, trained on user data and thus will be more accurate. We also hope to integrate an exercise regiment to our program.
Getting Started with Create React App
This project was bootstrapped with Create React App.
Available Scripts
In the project directory, you can run:
npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
npm test
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
npm run build
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
npm run eject
Note: this is a one-way operation. Once you eject, you can't go back!
If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
Learn More
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
Code Splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
Analyzing the Bundle Size
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
Making a Progressive Web App
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
Advanced Configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
Deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
npm run build fails to minify
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
Analysis
View
Metric
- 41
- 21
- 10
Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.
Technology
- CSSIn code
- FirebaseIn code
- HTMLIn code
- JavaScriptIn code
- OpenAIIn code
- ReactIn code
6 of 6 appear in the indexed code.
AI coding agents
No AI coding agent signals were found in this repository.
Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.
Codebase size
Source size
37 KB
Source files
21
Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.
Repository
nishantj2006/excersisehackathon
31 files · 787 KB · @ cbf46eb
Structure
Interface
9 files · 29%Screens, components and styles rendered to the user.
Application logic
9 files · 29%Domain rules, services and shared utilities.
Supporting
Layers are inferred from where files sit in the tree, not from reading the code. A project that names its directories unconventionally will read oddly here — open the file browser to check anything the diagram implies.
Languages
- JavaScript78%
- Markdown9%
- CSS9%
- HTML5%
Share of indexed source by file size. Binary and vendored files are excluded.
Dependencies
package.json
npm · 12- @auth0/auth0-react
- @testing-library/jest-dom
- @testing-library/react
- @testing-library/user-event
- axios
- firebase
- openai
- react
- react-dom
- react-router-dom
- react-scripts
- web-vitals
Declared in the repository’s manifests at the indexed commit. A declared package is not proof it is used, and runtime dependencies are listed first.
This project’s features have not been analysed yet.
Export this project's context (description, README, evidence, key source files) to chat with an AI agent elsewhere.