BackendYopiq repozitoriya

Inventrix — inventory and delivery backend

Team backend for inventory, invoicing and delivery: DRF APIs with an OpenAPI contract, a live WebSocket feed of driver assignments, a Telegram driver workflow and end-to-end tested business flows.

Umumiy ko‘rinish

Inventory and business management for companies that stock, sell and deliver goods: warehouses, products, invoices, company debts and a delivery flow for drivers, with a Telegram bot and Mini App on the driver side.

Mening hissam

  • Main backend contributor on a two-person team — 143 of 170 commits (Oct 2025 – May 2026).
  • Delivery API with drf-spectacular schemas, plus a real-time WebSocket stream of invoice assignments for drivers.
  • Telegram driver workflow with payment approval controls.
  • Company debt repayment with an auditable history, settled in-flow from product operations.
  • Owner dashboard with currency-aware analytics.
  • Invite flow, active-warehouse switching per user, and a pagination envelope on every list endpoint.
  • End-to-end tests that walk the full business chain with strict assertions.

Arxitektura

  • Django + DRF with django-bolt on the hot path, served by Gunicorn in Docker.
  • PostgreSQL with PostGIS (drf-gis); Redis; Celery with celery-beat for scheduled work.
  • django-simple-history for the audit trail, django-import-export for bulk data, Unfold for the admin.

Asosiy texnik qarorlar

  • One response envelope for every list endpoint, so the frontend and bot clients paginate the same way.
  • Audit history on the money-moving models, so debt balances can be reconstructed.
Barcha loyihalar