Hello

Hallo

Bonjour

こんにちは

Hei

Hola

你好

مرحبا

नमस्ते

Viatour

Role / Services

Full Stack & Database Architecture

Credits

Code and design: Sagar Luitel

Location & year

Kathmandu ©   2026

About the Project

An interactive, full-stack travel booking application that allows users to discover, compare, and book tailored tour packages worldwide. The system features a responsive search engine with date and destination filters, a secure payment gateway integration, and a dedicated admin console to track reservations and customer reviews.

The Challenge

Handling high-concurrency booking requests during holiday seasons without double-booking rooms or tour guides. Heavy read-write transactions on tour slots led to database locks and slow response times.

The Solution

I designed a slot reservation system using transaction blocks in PostgreSQL with database-level row locks. I offloaded temporary seat reservations to an in-memory database with automatic TTL (time-to-live) expiration, ensuring slots were held for only 10 minutes during checkout.

Technologies Used

Next.js
Next.js
Node.js
Node.js
PostgreSQL
PostgreSQL
Prisma
Prisma
Tailwind CSS
Tailwind CSS
Stripe API
Stripe API