How boqasem/football works
Football is a public football blog backed by a Strapi 5 CMS and SQLite, with a Next.js site for browsing published content. Visitors use the homepage and article/category routes; those routes retrieve content through the shared Strapi client, which calls the CMS REST API. The CMS exposes article, category, navigation-item, and site-setting content. The README documents SQLite and the admin panel, but sampled backend source does not show the internal route-to-controller-to-service wiring; those components are therefore shown without inferred call edges.
Main entry points: strapi.ts Strapi client · articles/page.tsx Article listing · categories/page.tsx Category listing · app/page.tsx Homepage
Components 29
Public site
- Homepage
frontend/app/page.tsx - Article listing
frontend/app/articles/page.tsx - Article detail
frontend/app/articles/[slug]/page.tsx - Category listing
frontend/app/categories/page.tsx - Category detail
frontend/app/category/[slug]/page.tsx - Pagination
frontend/components/Pagination.tsx - Site shell
frontend/app/layout.tsx - Sitemap
frontend/app/sitemap.ts - Robots metadata
frontend/app/robots.ts
Content client
- Strapi client
frontend/lib/strapi.ts
CMS
- Strapi CMS
backend/src/index.js - Article routes
backend/src/api/article/routes/article.js - Article controller
backend/src/api/article/controllers/article.js - Article service
backend/src/api/article/services/article.js - Category routes
backend/src/api/category/routes/category.js - Category controller
backend/src/api/category/controllers/category.js - Category service
backend/src/api/category/services/category.js - Navigation routes
backend/src/api/navigation-item/routes/navigation-item.js - Navigation controller
backend/src/api/navigation-item/controllers/navigation-item.js - Navigation service
backend/src/api/navigation-item/services/navigation-item.js - Settings routes
backend/src/api/site-setting/routes/site-setting.js - Settings controller
backend/src/api/site-setting/controllers/site-setting.js - Settings service
backend/src/api/site-setting/services/site-setting.js
CMS configuration
- Database config
backend/config/database.js - Admin config
backend/config/admin.js - Server config
backend/config/server.js
Other components
- Visitor
- Strapi REST API
- SQLite store
Connections 18
- Visitor → Homepage: opens
frontend/app/page.tsx - Visitor → Article listing: opens
frontend/app/articles/page.tsx - Visitor → Article detail: opens
frontend/app/articles/[slug]/page.tsx - Visitor → Category listing: opens
frontend/app/categories/page.tsx - Visitor → Category detail: opens
- Homepage → Strapi client: fetches content
frontend/app/page.tsx - Article listing → Strapi client: fetches pages
frontend/app/articles/page.tsx - Category listing → Strapi client: fetches pages
frontend/app/categories/page.tsx - Article detail → Strapi client: loads article
frontend/app/articles/[slug]/page.tsx - Article listing → Pagination: renders
frontend/app/articles/page.tsx - Category listing → Pagination: renders
frontend/app/categories/page.tsx - Strapi client → Strapi REST API: requests content
frontend/lib/strapi.ts - Strapi REST API → Strapi CMS: serves requests
README.md - Database config → SQLite store: configures
backend/config/database.js - Strapi CMS → SQLite store: uses
README.md - Visitor → Site shell: views
- Sitemap → Strapi client: loads content
- Robots metadata → Visitor: serves metadata