Accommodation Booking & Dynamic Pricing System
A configurable, scalable system for managing vacation lodge rentals. Built with Next.js, TypeScript, and MongoDB, it offers a flexible pricing engine, automated reservations, Stripe payment gateway integration, and a dedicated admin panel.
Goal: Creating a Rental Management System
The system was created in response to a client's needs from the vacation lodge rental industry, who required greater flexibility in managing prices and reservations than standard solutions available on the market could offer. Existing tools proved too limited in terms of pricing configuration and business rules, so I designed a system enabling full control over pricing logic and the booking process, while maintaining ease of use. The system architecture was designed in a modular way, allowing it to be easily adapted to other properties and rental models with similar characteristics.
My Solution: Full-Stack Platform
I designed and implemented a booking system that includes both a landing page with dynamic pricing and a system management panel. The system allows adding an unlimited number of properties, independently configuring their parameters (e.g., guest limits), and dynamically managing prices based on seasons, weekdays, and tiered pricing for different guest count ranges. The application integrates with the Stripe payment gateway and was designed to be easily adapted by other resorts.
Landing Page & Guest Interface
I designed a landing page that showcases the offer and allows for booking, with real-time pricing logic running in the background.
Management Panel
The admin panel contains the most important settings and information.
Architecture & Solutions:
- Modern Tech Stack: Built using TypeScript, Next.js, MongoDB, and Better Auth, ensuring security, type safety, and high performance.
- Double-Booking Prevention: Implementation of a multi-stage availability verification mechanism – the system checks dates at every step of the booking process and right before payment, eliminating error risks.
- Flexible Pricing Algorithm: Created an advanced pricing engine (Special Price > Seasonal > Base) that accounts for different weekend/weekday rates and tiered pricing based on the number of guests.
- Stripe Integration: Integrated the Stripe API for payments along with webhook handling, ensuring flawless synchronization of booking and payment statuses.
- Communication Automation: The system automatically sends email notifications to the client and administrator after a new reservation, and also informs the client about any reservation modifications made by the system operator.
- Responsive Interface: Design for both the client and the system operator adapted for display on phones, tablets, and PCs.
Benefits:
The facility benefits from:
- ✓Process Automation: Bookings, payments, email confirmations, and calendar updates happen automatically, reducing administrative workload.
- ✓Revenue Maximization: The advanced pricing system allows the owner to more easily capitalize on high-demand periods (e.g., long weekends) and flexibly adjust rates to the number of guests.
- ✓Business Scalability: The ability to expand the system with additional properties without the need to create new IT infrastructure.
- ✓Rule Control: The owner has influence on pricing, seasons, guest limits, availability, and additional cleaning time between reservations, adapting the system to the specifics of their business.


