All projects

SAVEFOOD

Year
2026
Role
Architecture & development

A two-sided marketplace where restaurants sell unsold meals at up to 70% off and buyers reserve them via QR code.

Save Food — desktop view
Save Food — mobile view

Overview

Stock is reserved atomically through row-level locking, which rules out overselling under concurrent bookings. QR tokens are signed with a single-use identifier rather than the booking ID, so they survive neither forgery nor screenshot replay. Geosearch runs on PostGIS inside the database, keeping the list and the map in sync. The codebase is under NDA — the repository documents the architecture and the decisions behind it.

Stack

  • Next.js 16
  • NestJS
  • PostgreSQL
  • PostGIS
  • BullMQ
  • Redis
  • TanStack Query
  • Zustand
  • Leaflet
  • PWA
  • YooKassa
  • Playwright