Inspiration

The inspiration came from the need for an accessible AI assistant that supports devs and students by answering technical questions, explaining complex concepts, and suggesting coding solutions

What it does

CODE-COMPANION works as a coding assistant. It allows users to input questions or coding prompts, providing detailed explanations, code examples, and guidance on different programming topics.

How we built it

The app is built using react for the front-end, coupled with Google Generative AI (Gemini) for language processing and response generation. Using JavaScript and React hooks, I created a dynamic user interface where users can interact with the AI model, viewing results and storing a history of responses.

Challenges we ran into

Integrating the AI API and managing the preprogrammed rate limits of the AI model required planning and error handling to deliver a smooth experience.

Accomplishments that we're proud of

Overall user interface looks pleasant as well as being efficient.

What we learned

Gained experience with asynchronous programming and dynamic UI design in React. Also vastly deepened my understanding of front-end disciplines coming from a backend origin.

What's next for CODE-COMPANION

In all honesty, CODE-COMPANION's future remains foggy at the moment but I can definitely imagine newer features such as voice support for prompts as well as more fine tuning of the model regarding prompts about CODE-COMPANION itself.

Share this project:

Updates