Technical lab · Public challenge · non-production
Travel technical challenge
Offer search with simulated suppliers.
- NestJS
- Prisma
- Next.js
- TypeScript

Challenge
Combine concurrent supplier responses and make partial results available.
My contribution
Technical challenge separate from professional work, with publicly available source code.
Architecture and approach
Independent technical challenge: NestJS/Prisma/PostgreSQL API, Next.js frontend, and simulated suppliers. Search aggregates concurrent responses and also offers an incremental SSE channel separate from the aggregate endpoint.
What was implemented
- A shared deadline distributes the time budget across suppliers; partial results can be returned without indefinitely waiting for remaining responses.
- Adapters normalize heterogeneous responses and retain incomplete offers as non-bookable when mandatory information is missing.
- A quote is persisted before being exposed to the client, allowing an offer received through streaming to enter the booking flow.
- Booking uses an idempotency key with a unique PostgreSQL constraint. Repeated searches use caching where appropriate and per-instance single-flight.
Trade-offs and decisions
- A time limit prioritizes predictability at the cost of losing late simulated supplier responses.
- SSE enables progressive offer display without replacing REST, but increases frontend state and persistence complexity.
- The database backs the idempotency guarantee; local single-flight reduces work within a process but does not coordinate all instances. Caching and expiry require clear policies.
Validation and current status
The public README documents 64 tests across 10 suites, including normalization, partial search, cache, streaming, and concurrent bookings; the integration suite requires infrastructure. The frontend was built and captured with simulated responses, without external API calls or real orders; the integration suite and production metrics were not verified in this review.
Engineering decisions
- 01
Concurrency and caching
Explore partial responses and reuse of results.
- 02
Idempotency and streaming
Model repeated calls and progressive data delivery.
Evidence and limitations
Project description and materials; no quantitative metrics were verified in this review.
More project screenshots

Public references
Let's build something like this.
Tell me about your problem and we'll evaluate the best approach.
Get a quote