Inspiration

Through my experience participating in hackathons, I realized that building a great project requires more than just technical skills. Finding compatible teammates in advance and discussing ideas, dividing responsibilities, and aligning on the project's direction can provide a significant advantage.

This inspired me to create a platform where USC students could form teams based on their skills, interests, and goals. Students at the same university can easily meet in person before an event, and whether a hackathon takes place at USC or at a university across the country, they can form a team ahead of time and travel to the venue together. I also believed that making it easier to find teammates could encourage more students to participate in hackathons.

I encountered similar challenges with university course projects. Each time, I had to explain my background and skills, approach classmates, or post on course discussion boards to find teammates. Moreover, students have different goals and levels of motivation: some simply want to pass the course, others aim for an A, and others prioritize building an outstanding project.

These experiences inspired me to build TrojanMatch, a platform where students can create a profile once, specifying their skills, interests, goals, and availability, and automatically find compatible teammates for different hackathons and course projects.

What it does

TrojanMatch is an AI-powered team formation platform that helps students find compatible teammates and form teams for hackathons and university course projects.

Students can join dedicated Matching Spaces for specific hackathons or courses, where they specify their technical skills, interests, goals, availability, and other preferences.

What sets TrojanMatch apart is its ability to optimize entire team compositions rather than simply evaluate individual compatibility. Through Smart Team Formation, the platform recommends balanced teams by considering complementary skills, role coverage, goal alignment, shared interests, schedule overlap, and working styles. Students can also replace recommended candidates and immediately see how each change affects the team's overall compatibility.

TrojanMatch also offers Grow My Team, which identifies missing skills and roles within an existing team and recommends suitable candidates, and Find a Team, which allows students to manually discover teams looking for members.

With Smart Team Formation, students can send invitations to recommended teammates and form actual teams once those invitations are accepted. After forming a team, members can communicate through real-time chat and use a Gemini-powered AI assistant to brainstorm project ideas, suggest role assignments, and develop an initial project plan.

How we built it

I built TrojanMatch using Next.js, React, TypeScript, and Tailwind CSS for the frontend, with Supabase and PostgreSQL powering the backend. The application is deployed on Vercel.

At the core of TrojanMatch is a matching engine designed as a constrained combinatorial optimization problem rather than a simple similarity-based ranking system.

The engine evaluates team compatibility across five dimensions: skill and role complementarity, goal alignment, shared interests, overlapping availability, and working-style compatibility. Depending on the number of eligible candidates, it uses either exhaustive search or bounded search to balance optimization quality with computational efficiency.

Eligibility requirements, including participation in the same Matching Space, explicit consent to matching, team capacity, and existing team memberships, are enforced as hard constraints. I implemented authorization and data protection using PostgreSQL functions and Row Level Security (RLS).

For communication between team members, I integrated Supabase Realtime, while the Gemini API powers an AI assistant that helps newly formed teams brainstorm ideas and plan their projects.

I also built an isolated, resettable demo environment with 44 synthetic student profiles, allowing the complete team formation workflow to be demonstrated without affecting real user data.

Challenges we ran into

The biggest technical challenge was designing an algorithm that evaluates the compatibility of an entire team rather than just the compatibility between individuals.

Even if individual candidates receive high matching scores, they may have overlapping skill sets that leave critical roles unfilled, or their schedules may barely overlap. I therefore needed to develop an optimization approach that accounts for how skills complement one another and how much time all team members can actually work together, while keeping recommendations fast enough for an interactive application.

Another major challenge was maintaining data consistency throughout the invitation, acceptance, and team formation process. When multiple students accept invitations simultaneously, the system must prevent teams from exceeding their capacity or students from joining multiple teams within the same Matching Space. To address this, I implemented database-level constraints and concurrency controls.

I also faced the challenge of building a repeatable demo environment that could demonstrate the entire workflow, from team formation to real-time chat and AI-assisted planning, while keeping synthetic demo data strictly isolated from production data.

Accomplishments that we're proud of

My biggest accomplishment was building a fully functional web application as a solo hackathon participant, going beyond simply recommending teammates to support the entire process of team optimization, invitations, acceptance, team formation, and collaboration.

I was also able to demonstrate the value of optimizing team composition rather than simply ranking individual candidates. In one comparison using synthetic student profiles, a team selected through individual ranking had only 4 hours of shared availability, while the team-level optimization approach achieved 20 hours. This illustrates how considering the entire team can lead to more practical and compatible combinations.

I'm also proud of implementing a consent-driven matching system that respects student privacy, with database-enforced authorization, membership restrictions, and team capacity constraints.

What we learned

Through this experience, I learned that even as a solo developer, having a clear project direction, overall architecture, and development plan in place beforehand makes it possible to build a polished, functional product within a limited timeframe.

At the same time, this experience reinforced how much of an advantage it can be to form a team early, share information and goals, and establish clear responsibilities before a hackathon begins. Having the right team in place from the start could make it possible to use limited development time more effectively and tackle even more ambitious challenges. This realization reaffirmed the value of what I set out to build with TrojanMatch.

On the technical side, I gained hands-on experience designing combinatorial optimization algorithms, handling database concurrency, implementing authentication and access control, building real-time communication features, and integrating generative AI APIs—all while bringing these components together into a cohesive, functional application.

What's next for TrojanMatch

First, I plan to introduce TrojanMatch to USC students and hackathon participants, gather feedback on matching quality and usability, and use those insights to improve the recommendation algorithm.

One of the features I'd like to introduce is Organizer Mode. This would allow hackathon organizers and university professors to optimize and form multiple teams at once, taking into account participants' skills, goals, and availability. Rather than relying solely on students to find teammates themselves, organizers could efficiently create well-balanced teams while respecting individual preferences.

I also plan to enhance collaboration features by introducing voice chat and calendar integration, making it easier for teammates to communicate and coordinate their schedules.

Looking further ahead, I envision expanding TrojanMatch beyond hackathons and academic projects. For example, it could help people find others to attend concerts with or connect with people who share similar interests and goals. Ultimately, I hope to develop TrojanMatch into a platform that helps people find the right companions for a wide range of activities and experiences.

Built With

Share this project:

Updates

Submission history