Назад в портфолио
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

Похожий проект?

Обычно отвечаю в течение нескольких часов.

Начать проект

Другие работы