How owjash/campus-study-group-finder works
Campus Study Group Finder is a React frontend backed by FastAPI and SQLite. A student registers or logs in, then searches the loaded groups by course/topic, optionally filters to joined groups, creates a group, or joins/leaves one; membership updates reload the list. Authentication uses hashed passwords and expiring bearer-token sessions, with logout invalidation. The sampled sources show the frontend component calls and backend database access; README documents the HTTP boundary and key capabilities. Search filtering runs in the frontend; no dedicated search endpoint is shown.
Main entry points: main.py FastAPI routes · App.jsx App and group search · GroupMembership.jsx Membership controls · database.py SQLite data store
Components 10
Student interface
- App and group search
frontend/src/App.jsx - Registration form
frontend/src/Register.jsx - Login form
frontend/src/Login.jsx - Create group form
frontend/src/CreateSession.jsx - Membership controls
frontend/src/GroupMembership.jsx
Identity and access
- FastAPI routes
backend/main.py - Authentication and tokens
backend/main.py
Study groups
- Group and membership operations
backend/main.py
SQLite persistence
- SQLite data store
backend/database.py
Other components
- Student
Connections 17
- Student → App and group search: uses
README.md - App and group search → Registration form: renders
frontend/src/App.jsx - App and group search → Login form: renders
frontend/src/App.jsx - App and group search → Create group form: renders
frontend/src/App.jsx - App and group search → Membership controls: renders
frontend/src/App.jsx - Registration form → FastAPI routes: registers via HTTP
frontend/src/Register.jsx - Login form → FastAPI routes: logs in via HTTP
frontend/src/Login.jsx - App and group search → FastAPI routes: loads groups
frontend/src/App.jsx - App and group search → FastAPI routes: logs out via HTTP
frontend/src/App.jsx - Create group form → FastAPI routes: creates via HTTP
frontend/src/CreateSession.jsx - Membership controls → FastAPI routes: joins or leaves
frontend/src/GroupMembership.jsx - Membership controls → FastAPI routes: reloads groups
frontend/src/GroupMembership.jsx - FastAPI routes → Authentication and tokens: routes auth requests
backend/main.py - FastAPI routes → Group and membership operations: routes group requests
backend/main.py - Authentication and tokens → SQLite data store: reads and writes
backend/main.py - Group and membership operations → SQLite data store: reads and writes
backend/main.py - FastAPI routes → SQLite data store: initializes schema
backend/main.py