Inspiration

When I started learning to code, I didn't have a mentor to guide and help me during my learning journey. Most of the time, I was trying to figure out things by going on a platform like FreeCodeCamp. Even though they provide good resources, I wanted a guided learning project that I could try to do by myself. I'm one of many who have faced this issue, most people in the community, especially beginners looking to grow new skills, face the same problem. That's why I considered leveraging the learning with project-based learning to help my community.

What it does

GPT-Coach gives daily learning projects based on your preference and the skills you want to improve directly to Whatsapp, making the task access accessible for anyone. The student can spend his day working on this project and enhance his skills.

How we built it

The GTP-API powers GPT-Coach to analyze the prompt sent by the user and generate a learning project plan forwarded to the Twilio API configured to send it back to the user through WhatsApp.

Challenges

Connecting the GPT-API and the Twilio API was very stressful, and there was an issue with my environment variables that made my application fail. So, I had first to test it directly without setting environment variables. I found a good article explaining how I could do it using Dotenv. Later, I figured out that I could have built it using only React and used States to manage the data sent to the API without creating a custom endpoint.

Accomplishments

Everything, making my application run, is what I'm proud of. I didn't think that idea would work initially, but it did. And now, I see different possibilities and different features I can add to it 😊

What we learned

I learned how to use Twilio API which is much simpler than I thought. I will keep using it to build more applications in the future. Besides, I enjoyed working with the Twilio API. They have very lovely documentation straight, forward even, and the good part is the error log when it's failing is well detailed. I need to mention the GPT-API. It was my first time using it, and I could build a lot of fun stuff with it.

What's next for AI-Coach

There are still some features I want to implement Setting the time to receive the plan Implementing a feature for other categories of users, like people interested in workouts, can get a daily workout plan based on their goals. Designing a new and nice frontend I definitely cannot do that alone, and that's why I want to use this project as an opportunity to introduce students in my college to open source by contributing to this project.

Built With

Share this project:

Updates