Benzinchi Bola
Loyalty coins, fuel delivery and targeted marketing for a chain of fuel stations.
Yoqilg'i shoxobchalari tarmog'i uchun bonus coinlar, yoqilg'ini yetkazib berish va maqsadli marketing.
API, admin panel, customer app, courier appAPI, admin panel, mijoz ilovasi, kuryer ilovasi
- Coin ledger. A PostgreSQL double-entry ledger in the NestJS API: every bonus earned, spent or refunded is a balanced pair of entries, so balances can always be rebuilt and audited.
- Cashier screen. The React admin finds a customer by QR scan, plate number, phone or a 6-digit code, and gives or spends coins in one step. Each staff role sees only its own sections.
- Customer app. Expo app with SMS login, a live balance and loyalty tiers, a QR code that changes every 60 seconds, and fuel delivery with cash, card, coins or a mix. It opens from an offline cache when the network is slow.
- Courier app and live tracking. Background GPS from the courier's phone, pushed over Socket.IO to the customer's map with a full status chain.
- Payments and marketing. Payme and Click checkout; banners and push campaigns targeted by car brand, fuel type, balance and oil-change date.
- Coin hisobi. NestJS API ichida PostgreSQL ikki tomonlama yozuvli hisob: har bir olingan, sarflangan yoki qaytarilgan bonus muvozanatli juft yozuv, shuning uchun qoldiqni har doim qayta tiklash va tekshirish mumkin.
- Kassa ekrani. React admin xaridorni QR, avtoraqam, telefon yoki 6 xonali kod bo'yicha topadi va bonusni bir amalda beradi yoki yechadi. Har bir rol faqat o'z bo'limlarini ko'radi.
- Mijoz ilovasi. Expo ilova: SMS orqali kirish, jonli balans va sodiqlik darajalari, har 60 soniyada yangilanadigan QR kod, naqd, karta, bonus yoki aralash to'lov bilan yoqilg'i yetkazish. Internet sekin bo'lsa oflayn keshdan ochiladi.
- Kuryer ilovasi va jonli kuzatuv. Kuryer telefonidan fondagi GPS Socket.IO orqali xaridor xaritasiga uzatiladi, holatlar zanjiri bilan.
- To'lov va marketing. Payme va Click; mashina markasi, yoqilg'i turi, balans va moy almashtirish sanasi bo'yicha bannerlar va push kampaniyalar.
NestJS 11, Fastify, PostgreSQL, Drizzle ORM, Socket.IO, React 19, Vite, Leaflet, Expo SDK 58, Payme, Click