How vasalaajay36/studysync works
StudySync is a student productivity platform combining a React interface with Spring REST APIs and persistent academic records. The main workflow is a student signing in, then managing subjects, tasks, study sessions, and coding profiles; dashboard and analytics summarize productivity, while Focus Mode supports timed study. The README documents the backend’s controller–service–repository layering and major capabilities. Source excerpts show session authentication, task API requests, service-to-repository operations, and coding-profile fetches; other feature-level links are based on README documentation rather than inspected implementations.
Main entry points: App.jsx React app · repository JPA repositories · CodingPlatformService.java Profile fetch and service · controller Academic APIs
Components 24
Student interface
- React app
frontend/src/App.jsx - Login
frontend/src/components/Login.jsx - Dashboard UI
frontend/src/components/Dashboard.jsx - Tasks UI
frontend/src/components/Tasks.jsx - Subjects UI
frontend/src/components/Subjects.jsx - Study sessions UI
frontend/src/components/StudySessions.jsx - Focus timer
frontend/src/components/StudyTimer.jsx - Analytics UI
frontend/src/components/Analytics.jsx - Coding profiles UI
frontend/src/components/CodingPlatforms.jsx
Accounts and profiles
- Authentication API
src/main/java/com/studysync/controller/AuthController.java - Student API
src/main/java/com/studysync/controller/StudentController.java - Student service
src/main/java/com/studysync/service/StudentService.java
Academic management
- Academic APIs
src/main/java/com/studysync/controller - Academic services
src/main/java/com/studysync/service - Domain entities
src/main/java/com/studysync/entity - JPA repositories
src/main/java/com/studysync/repository
Insights and coding
- Dashboard API
src/main/java/com/studysync/controller/DashboardController.java - Analytics service
src/main/java/com/studysync/service/AnalyticsService.java - Coding profiles API
src/main/java/com/studysync/controller/CodingPlatformController.java - Profile fetch and service
src/main/java/com/studysync/service/CodingPlatformService.java
Other components
- Student
- MySQL
- LeetCode
- Codeforces
Connections 30
- Student → React app: uses
- React app → Login: renders
frontend/src/App.jsx - React app → Dashboard UI: routes to
frontend/src/App.jsx - React app → Tasks UI: routes to
frontend/src/App.jsx - React app → Subjects UI: routes to
frontend/src/App.jsx - React app → Study sessions UI: routes to
frontend/src/App.jsx - React app → Coding profiles UI: routes to
frontend/src/App.jsx - React app → Analytics UI: routes to
frontend/src/App.jsx - React app → Focus timer: renders
frontend/src/App.jsx - Login → Authentication API: authenticates
- React app → Authentication API: checks session
frontend/src/App.jsx - Tasks UI → Academic APIs: requests tasks
frontend/src/components/Tasks.jsx - Dashboard UI → Dashboard API: requests dashboard
- Subjects UI → Academic APIs: manages subjects
- Study sessions UI → Academic APIs: manages sessions
- Analytics UI → Dashboard API: requests analytics
- Coding profiles UI → Coding profiles API: manages profiles
- Authentication API → MySQL: persists accounts
- Student API → Student service: delegates
src/main/java/com/studysync/controller/StudentController.java - Academic APIs → Academic services: delegates
src/main/java/com/studysync/controller/StudySessionController.java - Academic services → JPA repositories: reads and writes
src/main/java/com/studysync/service/StudySessionService.java - Student service → JPA repositories: reads and writes
src/main/java/com/studysync/service/StudentService.java - Academic services → Domain entities: maps records
src/main/java/com/studysync/service/TaskService.java - JPA repositories → MySQL: persists
- Dashboard API → Dashboard UI: returns summary
- Analytics service → JPA repositories: aggregates data
- Coding profiles API → Profile fetch and service: delegates
- Profile fetch and service → JPA repositories: stores profiles
src/main/java/com/studysync/service/CodingPlatformService.java - Profile fetch and service → LeetCode: fetches profiles
src/main/java/com/studysync/service/CodingPlatformService.java - Profile fetch and service → Codeforces: fetches profiles
src/main/java/com/studysync/service/CodingPlatformService.java