Назад до портфоліо
Laravel · Swagger

REST API для мобільного додатку

Версійне REST API з OAuth2, чергами та Swagger-документацією для iOS/Android клієнта (250k+ користувачів).

Галузь
Consumer mobile (iOS + Android)
Тривалість
4 months + ongoing
Моя роль
API architect
Client
Consumer mobile startup (250k+ MAU)
REST API для мобільного додатку

Виклик

A consumer mobile app with 250k users was outgrowing a Firebase backend — query costs were exploding and the team couldn't enforce complex business rules. They needed a versioned, well-documented REST API that mobile clients could consume safely across multiple app versions.

Рішення

Designed a versioned REST API (`/v1`, `/v2`) on Laravel with OAuth2 (Passport) for auth, queued jobs via Horizon for heavy lifts, idempotency keys for mobile retries, and an OpenAPI 3 contract that doubles as the SDK source. Postman + Newman in CI catches contract drift before deploy.

Технологічний стек

Laravel 10Laravel PassportSwagger / OpenAPI 3RedisHorizonMySQL

Результат

P95 latency under 180ms, zero auth incidents in 18 months, mobile teams ship faster because the OpenAPI contract removes ambiguity, and the Firebase bill dropped to a tenth.

Ключові метрики

250k+
active users
P95 < 180ms
response time
100%
OpenAPI coverage
Senior-level engineer who actually communicates. Our API project shipped two weeks early and passed security audit on first try.
Tomasz W.CTO, mobile startup

Маєш схожий проєкт?

Зазвичай відповідаю за кілька годин.

Розпочати проєкт

Інші роботи