How sippolajoose/personal-website works
This monorepo serves a personal website backed by an Express API and MongoDB. Visitors navigate the frontend’s home, projects, architecture, and playground pages; profile and feedback data flow through the API, backend services, and repositories. The site also supports Finnish and English, theme switching, health checks, and deliberate profile seeding. Backend route and service wiring is supported by the source index; unsampled view and endpoint details are represented only at the documented module level.
Main entry points: App.vue App shell · api.ts HTTP client · app.ts API application · SiteFooter.vue Site footer
Components 26
Website experience
- App shell
frontend/src/App.vue - Home page
frontend/src/views/HomeView.vue - Projects page
frontend/src/views/ProjectsView.vue - Architecture page
frontend/src/views/ArchitectureView.vue - Playground pages
frontend/src/views/PlaygroundView.vue - Playground index
frontend/src/views/PlaygroundIndexView.vue - Feedback display
frontend/src/components/FeedbackScroller.vue - Site footer
frontend/src/components/SiteFooter.vue
Frontend data and localization
- Profile store
frontend/src/stores/profile.ts - HTTP client
frontend/src/services/api.ts - Localization
frontend/src/i18n/index.ts - Theme state
frontend/src/composables/theme.ts
Backend API
- API application
backend/src/app.ts - Health endpoint
backend/src/routes/health.ts - Profile endpoint
backend/src/routes/profile.ts - Feedback endpoints
backend/src/routes/feedback.ts - Profile service
backend/src/services/profileService.ts - Feedback service
backend/src/services/feedbackService.ts
Persistence and profile data
- MongoDB access
backend/src/db/mongo.ts - Profile repository
backend/src/repositories/profileRepository.ts - Feedback repository
backend/src/repositories/feedbackRepository.ts - Profile records
backend/src/types/profile.ts - Feedback records
backend/src/types/feedback.ts - Profile seeding
backend/src/scripts/seed.ts
Other components
- Visitor
- MongoDB
Connections 31
- Visitor → App shell: uses
frontend/src/App.vue - App shell → Home page: routes to
- App shell → Projects page: routes to
- App shell → Architecture page: routes to
- App shell → Playground index: routes to
- App shell → Playground pages: routes to
- App shell → Site footer: renders
frontend/src/App.vue - Site footer → Feedback display: renders
frontend/src/components/SiteFooter.vue - Home page → Profile store: loads profile
frontend/src/views/HomeView.vue - Projects page → Profile store: loads profile
frontend/src/views/ProjectsView.vue - Feedback display → HTTP client: loads feedback
frontend/src/components/FeedbackScroller.vue - Site footer → HTTP client: submits feedback
frontend/src/components/SiteFooter.vue - Profile store → HTTP client: fetches profile
frontend/src/stores/profile.ts - HTTP client → Profile endpoint: requests profile
frontend/src/services/api.ts - HTTP client → Feedback endpoints: requests feedback
frontend/src/services/api.ts - App shell → Localization: toggles locale
frontend/src/App.vue - App shell → Theme state: uses theme
frontend/src/App.vue - API application → Health endpoint: mounts
backend/src/app.ts - API application → Profile endpoint: mounts
backend/src/app.ts - API application → Feedback endpoints: mounts
backend/src/app.ts - Profile endpoint → Profile service: calls
backend/src/routes/profile.ts - Feedback endpoints → Feedback service: calls
backend/src/routes/feedback.ts - Profile service → Profile repository: reads profile
backend/src/services/profileService.ts - Feedback service → Feedback repository: reads and writes
backend/src/services/feedbackService.ts - Profile repository → MongoDB access: gets database
backend/src/repositories/profileRepository.ts - Feedback repository → MongoDB access: gets database
backend/src/repositories/feedbackRepository.ts - MongoDB access → MongoDB: connects
backend/src/db/mongo.ts - Profile repository → Profile records: uses type
backend/src/repositories/profileRepository.ts - Feedback repository → Feedback records: uses type
backend/src/repositories/feedbackRepository.ts - Profile seeding → MongoDB: seeds profile
backend/src/scripts/seed.ts - Profile seeding → Profile records: uses defaults
backend/src/scripts/seed.ts