Back to Projects
Ghurni
Click to enlarge

Ghurni

Next.jsReactTailwind CSSMongoDBExpress.jsBetter AuthStripeHeroUIFramer Motion

About the Project

Ghurni is a complete online ticket booking platform built with the MERN stack + Next.js. It supports three user roles — Traveller, Vendor, and Admin. Travellers can browse, search, filter, and book tickets. Vendors can add and manage their tickets with admin approval. Admins can manage users, approve tickets, advertise featured tickets on the homepage, and monitor platform stats. Stripe integration handles secure payments with BDT conversion.

Challenges Faced

Implementing session-based token for protecting route across both Next.js server components and Express.js API was tricky. Route ordering in Express (advertised route before :id), CORS configuration on Vercel deployment, and real-time countdown timers synced with departure dates were key challenges. Dark/light mode with transparent navbar on scroll also required careful state management.

Future Improvements

Live seat map for bus routes, SMS notifications for booking updates, and React Hook Form for better form validation.