How rasoolzia/developer-interview-website works
Developer Interview Website is a multilingual presentation layer for interview questions; it fetches generated static JSON from the companion content repository and renders searchable, browsable question pages. The main path is content API → typed domain services → route views → user-facing pages. Separate branches cover URL-synced search and filters, local bookmark and report workflows, and locale/theme presentation. Relationships are limited to the README and source-index references or excerpts; unsampled page wiring is not inferred beyond those references.
Main entry points: layout.tsx Locale routes · search.repository.ts JSON repositories · search.service.ts Search service · bookmark.service.ts Bookmark service
Components 22
Routing and pages
- Locale routes
src/app/[locale]/layout.tsx - Landing view
src/views/landing/ui/landing-view.tsx - Topic views
src/views/topic/ui/topics-view.tsx - Question view
src/views/question/ui/question-details-view.tsx - Search view
src/views/search/api/search.service.ts - Bookmark views
src/views/bookmark/ui/bookmarks-view.tsx - Report views
src/views/report/ui/reports-view.tsx
Content discovery
- Domain service
src/entities/domain/api/domain.service.ts - Topic service
src/entities/topic/api/topic.service.ts - Question service
src/entities/question/api/question.service.ts - Search service
src/entities/search/api/search.service.ts
User actions
- Search filters
src/features/filters/ui/filters-content.tsx - Bookmark service
src/features/bookmark/api/bookmark.service.ts - Bookmark store
src/features/bookmark/storage/indexed-db-bookmark.repository.ts - Report service
src/features/report/api/report.service.ts - Report store
src/features/report/storage/indexed-db-report.repository.ts
Shared platform
- Locale routing
src/shared/config/i18n/routing.ts - Theme provider
src/app/providers/theme-provider.tsx - JSON repositories
src/shared/api/repositories/search.repository.ts - Validated API client
src/shared/api/client.ts
Other components
- Visitor
- Generated JSON API
Connections 24
- Visitor → Locale routes: opens pages
README.md - Locale routes → Locale routing: uses locale routing
README.md - Locale routes → Landing view: renders landing
- Locale routes → Topic views: renders topics
- Locale routes → Search view: renders search
- Locale routes → Question view: renders questions
- Locale routes → Bookmark views: renders bookmarks
- Locale routes → Report views: renders reports
- Generated JSON API → JSON repositories: serves JSON
README.md - JSON repositories → Validated API client: fetches and validates
src/shared/api/repositories/search.repository.ts - Validated API client → Generated JSON API: requests resources
README.md - Domain service → JSON repositories: loads manifest
src/entities/domain/api/domain.service.ts - Topic service → JSON repositories: loads topic data
- Question service → Topic service: loads topic questions
src/entities/question/api/question.service.ts - Question service → Search service: resolves question IDs
src/entities/question/api/question.service.ts - Search service → JSON repositories: loads search index
src/entities/search/api/search.service.ts - Search view → Search service: gets search items
src/views/search/api/search.service.ts - Search filters → Search view: supplies URL filters
README.md - Bookmark views → Bookmark service: manages lists
- Bookmark service → Bookmark store: reads and writes
src/features/bookmark/api/bookmark.service.ts - Bookmark service → Search service: resolves saved questions
src/features/bookmark/api/bookmark.service.ts - Report views → Report service: manages reports
- Report service → Report store: uses local storage
src/features/report/api/report.service.ts - Theme provider → Locale routes: provides theme