Inspiration

Although millions of developers use Leetcode to practice programming, we felt there wasn't a viable alternative for those who preferred working on real world applications, a skill likely more important for junior developers.

What it does

Currently, it supports a Practice and Playground mode which users can access after logging in. In Practice mode, our fine-tuned LLM will generate an easy, medium, or hard challenge to complete in React. In our built-in code editor, you will be able to test and submit your code without ever leaving the website. Finally, the AI will grade your project based on the challenge's set of requirements. In Playground mode, users can build their own React apps and get accustomed to the dev-wars environment before entering practice mode.

How we built it

Our front-end is built with Next.js and is supported by a Express back-end and PostgreSQL database. We fine-tuned gpt-4o-mini to generate and grade user projects using Cypress.

Challenges we ran into

Our largest obstacle was running Cypress to grade user apps on the backend, as this involved setting up PowerShell infrastructure to run terminal commands on the server.

Accomplishments that we're proud of

We're proud of implementing an IDE with the ability to run and submit to the backend within our project as well as developing a auto grading system with Cypress and gpt-4o-mini.

What we learned

We learned some of the more advanced features supported by Next.js like intercepting routes, how to build a database with PostgreSQL, and connecting an LLM to receive input from and output to a backend server.

What's next for dev-wars

The next step is to add multiplayer functionality as the name suggests, so users can compete in timed challenges against each other.

Built With

Share this project:

Updates