Inspiration

Our inspiration came from Nurse Joy from Pokemon, her role in the game is to help others and heal everyone's Pokemon. We wanted our application to have a similar role by helping others through tough times and providing mental help.

What it does

JoyAI is an AI therapist available 24/7. It can help comfort and guide users in the right direction in times of distress. Our web application also provides users with mental health resources as well as a mood-tracking calendar.

How we built it

We built the web application using Next.js as the framework, React for the front end, DaisyUI for UI components, and MongoDB for the back end. We used LangChain and GroqAI to build the AI chatbot. We used NextAuth for login and authentication. We used Vercel to deploy our web application.

Challenges we ran into

We had an issue with the account authentication and login when we deployed it. The issues were caused because of a database setting and having to rename one of our keys on Vercel. We also had an issue where users could interrupt the conversation which messed up the message response because it was trying to send two responses simultaneously. We solved it by only accepting new messages when the current response finishes loading.

Accomplishments that we're proud of

We are proud of being able to fully publish this web application online, we are also proud of the streamlined message responses because it was not easy to implement.

What we learned

We learned that time management and collaboration are important.

What's next for JoyAI

We want to add more features in the future and make it mobile.

Built With

Share this project:

Updates