Skip to main content
George Khananaev
Tag archive

#typescript

6 posts

Read StaySync: B2B hotel allotment management
Case Study
Moon Holidays

StaySync: B2B hotel allotment management

NestJS 11 + Drizzle + PostgreSQL 17 platform with 12 modules, 532 tests (99.63% allotment coverage), and a Contracts → Resolver → PoolBudget pipeline

StaySync is the B2B hotel allotment platform: allotment calendars, hardblocks with amendment history, booking orders, advisory-locked availability checks, and real-time sync with the Moon Holidays supplier API. Built on NestJS 11 with Drizzle ORM, PostgreSQL 17, Firebase auth, 12 business modules, 17 test suites, 532 tests, and two Next.js frontends consuming the API.

nestjstypescriptpostgresqldrizzlefirebaseb2barchitecturezod
Feb 2026 — Present5 min
Read Live Deck: a call center dashboard for the TV wall
Case Study
Moon Holidays

Live Deck: a call center dashboard for the TV wall

React 19 + Vite 7 + React Server Components, version 2.0.1, 9 widgets, 32×18 draggable grid, SSE streaming with zombie-connection detection

Live Deck is the wall-mounted dashboard the Moon Holidays call center watches all day. Version 2.0.1. React Server Components, Vite 7, TanStack Query v5, nine widgets in a draggable 32×18 grid, real-time Aircall WebSocket streaming, SSE with zombie-connection detection, optional single-use ticket auth, and a hardened security model for unattended kiosk operation.

reacttypescriptviterscwebsocketssedashboardtanstack-querysqlite
Jan 2026 — Present5 min
Read Travel Panel WebSocket Server: real-time at uWebSockets.js speed
FeaturedTechnical Deep-Dive
Moon Holidays

Travel Panel WebSocket Server: real-time at uWebSockets.js speed

High-performance WebSocket gateway for notifications, chat, and live state, running on port 8965 since August 2025

A high-throughput WebSocket server powering every live update across the Moon Holidays platform. Built on uWebSockets.js for raw performance, with MongoDB for persistence, Redis for pub/sub across pods, Firebase Auth for handshakes, and rate limits of 1000 msg/min in dev and 120 msg/min in production.

websocketuwebsocketsnodejstypescriptmongodbredisrealtimerate-limiting
Aug 2025 — Present3 min
Read TravelOffer: a multi-brand travel booking platform
FeaturedCase Study
Moon Holidays

TravelOffer: a multi-brand travel booking platform

Next.js 16.1 + MongoDB booking flow with trilingual RTL/LTR support, state-machine order flow, and Stripe payments

A production Next.js 16 booking platform serving multiple brands under one codebase. Trilingual (English, Arabic, Hebrew) with full RTL/LTR support, cookie-based brand switching, a six-layer architecture, 30+ currency symbols, SMS/WhatsApp/Email/Google OAuth login, and a state-machine order flow from confirm to payment to completed.

nextjstypescriptmongodbstripei18nrtlreactmulti-tenantstate-machine
Jul 2025 — Present4 min
Read PyNextStack: a full-stack user management starter
FeaturedCase Study

PyNextStack: a full-stack user management starter

FastAPI backend, Next.js frontend, auth and profiles out of the box

A full-stack user management system with a Next.js frontend and FastAPI backend. Registration, authentication, profile management, and a Material-UI interface. Production-ready defaults so you can focus on your actual product instead of rebuilding the login form.

fastapinextjspythontypescriptauthenticationfull-stack
252 min
Read Travel Panel: the core travel management platform
FeaturedCase Study
Moon Holidays

Travel Panel: the core travel management platform

FastAPI backend, Next.js operator portal, and B2B partner portal powering Moon Holidays end to end

Travel Panel is the core system at Moon Holidays. A FastAPI backend, a Next.js operator portal, a B2B partner portal, and the orchestrator for every downstream product: TravelOffer for end customers, Live Deck for call-center TVs, Vercel Controller for deployment cache, StaySync for allotment availability, and a WebSocket messenger for internal communication. Running on AWS with ALB, MemoryDB, CloudFront, S3, and more.

fastapinextjspythontypescriptmongodbvalkeyawsmulti-tenantsaasarchitectureplatformorchestration
Dec 2022 — Present11 min