How ber17lino/eventusssss works
«Ивентус» is an event-recommendation product for Tyumen State University students. The main user journey is account access, entering competence-test results and interests, then receiving event recommendations; the API also supports event browsing and profile/action management. The Vue router exposes the user-facing screens, while FastAPI routes requests to API handlers that query PostgreSQL. The excerpts establish several backend calls and the profile view’s profile request; other view-to-API wiring and unsampled handler internals are not asserted.
Main entry points: index.js View routing · database.py Database sessions · main.py FastAPI app · users.py User and survey routes
Components 21
Web application
- Vue app
frontend/src/App.vue - View routing
frontend/src/router/index.js - Event discovery
frontend/src/views/HomeView.vue - Login
frontend/src/views/LoginView.vue - Registration
frontend/src/views/RegisterView.vue - Competence survey
frontend/src/views/SurveyView.vue - Interest selection
frontend/src/views/InterestsView.vue - Student profile
frontend/src/views/ProfileView.vue - Settings
frontend/src/views/SettingsView.vue - HTTP client
frontend/src/api.js
API and services
- FastAPI app
app/main.py - Authentication routes
app/api/auth.py - Password and JWT
app/services/auth.py - User and survey routes
app/api/users.py - Event routes
app/api/events.py - Recommendations and actions
app/api/recommendations.py
Student and event domain
- Request and response schemas
app/schemas.py - Domain models
app/models.py
Persistence
- Database sessions
app/database.py - PostgreSQL schema
postgres/init.sql
Other components
- Student
Connections 26
- Student → View routing: uses
- View routing → Vue app: renders
frontend/src/main.js - View routing → Event discovery: routes to
frontend/src/router/index.js - View routing → Login: routes to
frontend/src/router/index.js - View routing → Registration: routes to
frontend/src/router/index.js - View routing → Competence survey: routes to
frontend/src/router/index.js - View routing → Interest selection: routes to
frontend/src/router/index.js - View routing → Student profile: routes to
frontend/src/router/index.js - View routing → Settings: routes to
frontend/src/router/index.js - Student profile → HTTP client: requests through
frontend/src/views/ProfileView.vue - HTTP client → FastAPI app: sends HTTP
- FastAPI app → Authentication routes: registers routes
app/main.py - FastAPI app → User and survey routes: registers routes
app/main.py - FastAPI app → Event routes: registers routes
app/main.py - FastAPI app → Recommendations and actions: registers routes
app/main.py - Authentication routes → Password and JWT: uses
app/api/auth.py - Password and JWT → Database sessions: gets session
app/services/auth.py - Authentication routes → Database sessions: gets session
app/api/auth.py - User and survey routes → Database sessions: gets session
app/api/users.py - Event routes → Database sessions: gets session
app/api/events.py - Recommendations and actions → Database sessions: gets session
app/api/recommendations.py - User and survey routes → Request and response schemas: uses types
app/api/users.py - Event routes → Request and response schemas: uses types
app/api/events.py - Recommendations and actions → Request and response schemas: uses types
app/api/recommendations.py - Database sessions → PostgreSQL schema: connects to
app/database.py - Student profile → User and survey routes: loads profile
frontend/src/views/ProfileView.vue