
CASE STUDY · PERSONAL PROJECT · SPORTS · FAN APP · FLUTTER
Dima CSS
Formerly CSS Fans
The supporters' app of Club Sportif Sfaxien: live match center, news, videos, chants and a real-time fan community, rebuilt from scratch in Flutter with a Firebase back end.
- ROLE
- Solo Developer — Product, Mobile, Backend & Admin
- PERIOD
- 2021 - 2026
- TYPE
- Personal project
- LOCATION
- Sfax, Tunisia
01 — OVERVIEW
Dima CSS gathers everything a CS Sfaxien supporter follows in one fast, bilingual app (French and Arabic, full RTL).
Matches, standings, official and press news, club videos, the stadium chants with offline listening, score predictions and a community where fans like, comment and tag each other. In 2026 I rebuilt the 2021 app from the ground up as v3: new design, clean architecture, a serverless Firebase back end that publishes content automatically, and a web admin portal to run it. Dima CSS is an unofficial supporters' app: it is not published or endorsed by the club.
03 — KEY FEATURES
Match center: next-match countdown, season fixtures and results, Tunisian Ligue 1 standings with last-5 form, scheduled reminders before kick-off and at full time.
Unified news feed: official club posts, press and national team in one place, with search, source filters, in-app reader, favourites and sharing.
Club videos: interviews and behind the scenes, embedded YouTube player, live streams.
Stadium chants: a real audio player (shuffle, repeat, favourites, sleep timer), album downloads for offline listening, background playback with lock-screen controls.
Score predictions: guess the score of every match (exact score 3 pts, right winner 1 pt) and climb the fans’ leaderboard.
Real-time community: likes and comments, @mentions, report and block for moderation, likes straight from list cards, synced like / comment / view counters.
Social notifications: a fan is notified when their comment is liked, when they are mentioned, and when someone comments on a news item they commented on (automatic follow, can be turned off). Notification history with unread badge, topic push notifications (official, press, videos, national team).
Bilingual FR/AR with full RTL, dark and light themes, optional Google sign-in (everything works without an account), in-app account deletion.
And also: season squad with player profiles, club history and honours, fan feedback with messaging, advertising and sponsored content requests, update prompt.
04 — MY ROLE
- 01Sole developer, end to end: product design, mobile app, back end, admin portal, website and store publishing.
- 02Product design and UI.
- 03Flutter app with Clean Architecture and BLoC.
- 04Firebase back end and Cloud Functions: content robot and social notifications.
- 05React admin portal.
- 06Showcase website and Play Store publishing: listing, data safety, ads compliance.
05 — HIGHLIGHTS
- Full rebuild of a published app: same Play Store listing, 5,000+ cumulative downloads since 2021.
- Automated content pipeline from RSS and YouTube to push notifications.
- Server-side social notifications (likes, mentions, followed threads), localized per user.
- Admin portal with Facebook import, analytics and moderation.
- Firestore cost optimization: aggregations, caching and pagination.
06 — IMPACT
- A single, modern home for CSS supporters, with content published automatically and community features that bring fans back to the app.
07
Back end (Firebase + Cloud Functions)
- Content robot: a scheduled Cloud Function fetches news and videos (RSS, YouTube API), removes duplicates, publishes them to Firestore and sends the push notifications.
- Social notifications: Firestore-triggered Cloud Functions work out the recipients (likes, mentions, thread followers), send a localized FCM push (FR/AR), write the notification history and clean up expired tokens.
- Monetisation: AdMob (banner, native, rule-based interstitial, rewarded “VIP” video for 2 hours without ads), Google UMP consent, app-ads.txt.
08
Admin portal (React)
- Dashboard and statistics, content management, squad management, push notifications, reports, users, sponsored content, ad settings (Remote Config) and activity log.
- Import of posts from the official Facebook page: browser-side bookmarklet, preview then confirmation, images copied to Firebase Storage.
- Optimized Firestore reads: count / average aggregations, caching and pagination.
09
Showcase website
- App website with privacy policy, terms and account deletion page, as required by Google Play.
10
Timeline
- 2021: CSS Fans v1 and v2 published on Google Play.
- 2026: v3, full rebuild and new name, Dima CSS. Current version: 3.0.1.
11 — TECHNICAL STACK
- Flutter
- Dart
- Clean Architecture
- BLoC / Cubit
- go_router
- get_it
- Hive CE
- Firebase Auth
- Cloud Firestore
- Cloud Functions
- Firebase Cloud Messaging
- Firebase Storage
- Remote Config
- Firebase Hosting
- Firebase Analytics
- TypeScript
- Node.js 22
- React 19
- Vite
- Tailwind CSS 4
- Google Mobile Ads
- just_audio
- TheSportsDB API
- YouTube API
- i18n FR/AR (RTL)
- bloc_test
- mocktail














