Inspiration

Was to create an Ai based health project that can be used to make life better in some form.

What it does

It allows login with firebase and google. Then it takes you to a form where you can then enter information like height and current weight and the goal weight to lose and the time frame you want to lose the weight then it reaches out to openai API and gets the meal plan. then it can send you a message through the Twilio API with a reminder if you enter a phone number

How we built it

We used HTML and CSS to make the website UI then we created everything else in js

Challenges we ran into

firebase was not working so it took a long time to get that fixed.

openai was not returning the proper JSON response.

Accomplishments that we're proud of

I haven't made a website that has more than 50 lines of code but this was the first time I had incorporated APIs into the project. Although the UI/UX is not the best, having a working solution is a little bit more important.

What we learned

I learned a lot about javascript and API management with a project.

It also gave me a unique perspective on web development for example hiding API keys and thinking about injections in ht decode with programming is a really hard task. As a cybersecurity student who has found a lot of misconfiguration on the internet, it is interesting to see how hard it is for programmers to have safe coding practices.

What's next for BrickHealth

Currently the next step is get better programing practices such as using .env file when I tried to implement .env file my program just broke and nothing else would work.

After getting all of the obvious security risks it would be nice to fix up UI and get the output to work with the google calender API so that it would create a calender reminder instead of the twilio.

Share this project:

Updates