How gdlion1/studysync works
StudySync helps students discover or create study circles, coordinate study sessions, and collaborate through group chat and shared resources. The principal workflow runs from the routed React app into group discovery or creation, then into a study hub; separate profile, scheduling, and resource pages support that journey. The repository contains a Django API and data models, although the README describes Supabase as the backend; the sampled client API wrapper targets a configurable HTTP backend. Some advertised live and notification capabilities are documented but their full implementations were not sampled.
Main entry points: main.tsx Router and shell · api.ts HTTP API client · Schedule.tsx Sessions and focus · FindGroups.tsx Find circles
Components 21
Application shell
- Router and shell
src/main.tsx - Navigation
src/components/Navbar.tsx - Footer
src/components/Footer.tsx - Home
src/pages/Home.tsx
Study circles
- Find circles
src/pages/FindGroups.tsx - Create circle
src/pages/CreateGroup.tsx - Study hub
src/pages/StudyHub.tsx
Academic tools
- Sessions and focus
src/pages/Schedule.tsx - Study resources
src/pages/Resources.tsx - VTU curriculum data
src/data/vtuData.ts
Student identity
- Sign in
src/pages/SignIn.tsx - Profile setup
src/pages/ProfileSetup.tsx - Student profile
src/pages/Profile.tsx
Backend API
- HTTP API client
src/lib/api.ts - API routes
server/api/urls.py - API handlers
server/api/views.py - Data serializers
server/api/serializers.py - Study data models
server/api/models.py
Other components
- Student
- Live collaboration service
- Session notifications
Connections 30
- Student → Router and shell: opens
src/main.tsx - Router and shell → Navigation: renders
src/main.tsx - Router and shell → Footer: renders
src/main.tsx - Router and shell → Home: routes to
src/main.tsx - Router and shell → Find circles: routes to
src/main.tsx - Router and shell → Create circle: routes to
src/main.tsx - Router and shell → Study hub: routes to
src/main.tsx - Router and shell → Sessions and focus: routes to
src/main.tsx - Router and shell → Study resources: routes to
src/main.tsx - Router and shell → Sign in: routes to
src/main.tsx - Router and shell → Profile setup: routes to
src/main.tsx - Router and shell → Student profile: routes to
src/main.tsx - Find circles → HTTP API client: requests data
src/pages/FindGroups.tsx - Find circles → VTU curriculum data: uses curriculum
src/pages/FindGroups.tsx - Create circle → HTTP API client: submits circle
src/pages/CreateGroup.tsx - Study hub → HTTP API client: requests data
src/pages/StudyHub.tsx - Sessions and focus → HTTP API client: manages sessions
src/pages/Schedule.tsx - Sessions and focus → VTU curriculum data: uses curriculum
src/pages/Schedule.tsx - Study resources → HTTP API client: manages resources
src/pages/Resources.tsx - Study resources → VTU curriculum data: uses curriculum
src/pages/Resources.tsx - Sign in → HTTP API client: authenticates
src/pages/SignIn.tsx - Profile setup → HTTP API client: updates profile
src/pages/ProfileSetup.tsx - Student profile → HTTP API client: loads profile
src/pages/Profile.tsx - HTTP API client → API routes: HTTP requests
README.md - API routes → API handlers: dispatches
server/api/urls.py - API handlers → Data serializers: serializes data
server/api/views.py - Data serializers → Study data models: maps models
server/api/serializers.py - API handlers → Study data models: reads and writes
server/api/views.py - Study hub → Live collaboration service: supports live collaboration
README.md - Sessions and focus → Session notifications: provides updates
README.md