How nikitakovalenko111/ural-hackaton works
Ural Hackaton is a hub and community-management web application. Visitors browse hubs, events, and mentors; users can register or sign in through magic links, then manage profile-related requests and bookings. The React client calls a Go/Fiber API backed by PostgreSQL. The README documents the product capabilities and API domains; internal backend call relationships are not shown in the supplied excerpts, so those links are marked unverified rather than presented as confirmed calls.
Main entry points: App.tsx Routes and shell · api.ts HTTP client · handlers Domain handlers · EventsPage.tsx Event browsing
Components 19
Web client
- Routes and shell
client/src/App.tsx - Hub browsing
client/src/pages/hubs/HubsPage.tsx - Hub detail
client/src/pages/index/IndexPage.tsx - Event browsing
client/src/pages/events/EventsPage.tsx - Mentor browsing
client/src/pages/mentors/MentorsPage.tsx - Registration and sign-in
client/src/pages/login/LoginPage.tsx - Magic-link verification
client/src/pages/authVerify/AuthVerifyPage.tsx - Profile and records
client/src/pages/profile/ProfilePage.tsx - Booking and request form
client/src/components/registrationModal/RegistrationModal.tsx - User session state
client/src/redux/features/users/userSlice.ts
API and domain
- HTTP client
client/src/api/api.ts
Backend services
- HTTP routes
server/internal/transport/http/http.go - Request controllers
server/internal/transport/http/controllers/controllers.go - Domain handlers
server/internal/services/handlers - Email sender
server/internal/services/handlers/email/sender.go - Domain models
server/internal/models
Persistence
- Domain repositories
server/internal/storage/repositories - PostgreSQL
Other components
- Visitor or user
Connections 28
- Visitor or user → Routes and shell: uses
README.md - Routes and shell → Hub browsing: routes to
client/src/App.tsx - Routes and shell → Hub detail: routes to
client/src/App.tsx - Routes and shell → Event browsing: routes to
client/src/App.tsx - Routes and shell → Mentor browsing: routes to
client/src/App.tsx - Routes and shell → Registration and sign-in: routes to
client/src/App.tsx - Routes and shell → Magic-link verification: routes to
client/src/App.tsx - Routes and shell → Profile and records: routes to
client/src/App.tsx - Routes and shell → HTTP client: restores session via
client/src/App.tsx - Routes and shell → User session state: sets session
client/src/App.tsx - Magic-link verification → HTTP client: verifies token via
client/src/pages/authVerify/AuthVerifyPage.tsx - Magic-link verification → User session state: sets user
client/src/pages/authVerify/AuthVerifyPage.tsx - Hub browsing → HTTP client: loads hubs
client/src/api/api.ts - Hub detail → HTTP client: loads hub data
client/src/pages/index/IndexPage.tsx - Event browsing → HTTP client: loads events
client/src/pages/events/EventsPage.tsx - Event browsing → Booking and request form: opens form
client/src/pages/events/EventsPage.tsx - Mentor browsing → HTTP client: loads mentors
client/src/pages/mentors/MentorsPage.tsx - Mentor browsing → Booking and request form: opens form
client/src/pages/mentors/MentorsPage.tsx - Booking and request form → HTTP client: submits bookings
client/src/components/registrationModal/RegistrationModal.tsx - Profile and records → HTTP client: loads records
client/src/pages/profile/ProfilePage.tsx - Profile and records → User session state: clears session
client/src/pages/profile/ProfilePage.tsx - HTTP client → HTTP routes: calls HTTP endpoints
README.md - HTTP routes → Request controllers: dispatches to
- Request controllers → Domain handlers: delegates to
- Domain handlers → Domain repositories: uses
- Domain handlers → Email sender: sends email
- Domain repositories → PostgreSQL: reads and writes
README.md - Domain handlers → Domain models: uses domain data