Inspiration I wanted to solve a classic university problem: finding peers to study with in real time across a massive campus. Instead of relying on cluttered group chats, we wanted to build a centralized dashboard where students can instantly see who is studying what, and where, right now.
What it Does Campus Study Hub provides an interactive, live dashboard for university students to coordinate study sessions seamlessly. Users simply input their current course code, select an official campus building from a dynamic dropdown menu, and broadcast their group. Other students browsing the app can view active study cards and click a live "Join" button to instantly update the student attendee count in real time, making peer-to-peer collaboration instant and frictionless.
How I Built It The application is built using a modern React frontend architecture.
- Modular Architecture: To keep the codebase clean and maintainable, I decoupled business logic by creating a custom React Hook (useStudyGroups) to manage state transitions.
- Data Integration: I connected the interface directly to the live DevSoc GraphQL API using a native browser fetch service layer to dynamically populate the campus location selection matrix.
Challenges I Faced Biggest hurdle was managing package bundling mismatches with the external Apollo Client library during initial integration. When the build pipeline threw environment specific resolution errors, I adapted a strategy by bypassing the heavy framework dependencies entirely and refactored the pipeline to use clean, lightweight native asynchronous HTTP queries. This resolved the runtime errors and made the application faster and more stable.
Accomplishments That I'm Proud Of I successfully took a single file prototype and fully refactored it into an elegant, production-grade project structure following strict separation of concerns. I'm proud to built a highly interactive interface where students can dynamically update active study cards in real time.
What I Learned I learned how to design custom hooks to isolate component states, how to parse complex GraphQL query responses natively and how to troubleshoot and pivot when external packages conflict with the local compilation environment.
What's Next for Campus Study Hub I am thinking to scale the application by integrating the DevSoc API's specific live Room and Course queries to narrow down study locations to precise classrooms. Additionally, aim to implement a persistent backend database using WebSockets to allow cross-device, live-state syncing so multiple students can interact across different computers simultaneously.
Built With
- graphql
- html5
- javascript
- react