Abdulilah’s CV

If the download doesn’t start, open the PDF in a new tab and save it from there.

Open PDF

Engineering case study

SvjFit.Ai

I built a fitness and nutrition app that can still produce a workout plan when its AI provider is unavailable. Here’s how the mobile client, cloud functions and tests fit together.

SvjFit.Ai logo — a gold emblem and lettering on a dark carbon-fiber background with the tagline AI Fitness System: Training, Nutrition, Coaching.
My role
Founder and sole engineer
Platforms
iOS and Android
Timeline
June 2026–present
Release
Live on Google Play for Android. iOS launch on the App Store coming soon.
Cloud Functions
38
Automated tests
5,600+
Saved per database round trip
150–200 ms

What the app does

SvjFit.Ai uses a person’s training history, available equipment and dietary preferences to tailor workout and nutrition plans. It also analyzes meal photos and includes a coach that can reference past workouts and meals. The app supports English, Turkish and Arabic, including right-to-left layouts.

Engineering decisions

Mobile and cloud architecture

The Flutter client uses Riverpod for state management and keeps a local cache. On the server, 38 TypeScript Cloud Functions handle plan generation, billing, check-ins, data exports and account deletion. Moving the functions into Firestore’s region cut roughly 150–200 ms from each database round trip.

Keeping AI plans usable

Google Gemini helps select exercises and analyze meal photos. Code checks each workout against the exercise catalog, available equipment and movement restrictions. If the request times out or the response fails validation, a rule-based engine produces the plan and the failed AI attempt costs the user no credits.

Processing billing retries safely

RevenueCat sends subscription events to an authenticated webhook. The server updates entitlements, and Firestore rules block clients from writing to those fields. Idempotent updates and a scheduled reconciliation job keep repeated or missed events from corrupting the credit balance.

Verifying tests on the device

The test suite covers Flutter widgets, backend services and Firestore rules. One GitHub Actions job reported success when its Android emulator tests failed during setup. I changed the job to read the device’s output and retain the results for each language run.

Want a code walkthrough?

I can share my screen and trace a request from the Flutter client through the cloud functions, or walk through the billing and test workflows.