Hotel Website • Booking Engine • Staff Payroll ERP
A complete digital transformation for Sparsh Canopy Hotel. Features a Next.js front-end for seamless guest room bookings and a robust MySQL-backed admin ERP for staff attendance, payroll, and internal management.
Sparsh Canopy required a dual-purpose digital solution: an attractive, high-converting public website for hotel guests, and a secure internal management system to handle day-to-day operations.
The platform was engineered using Next.js for blazing-fast Server-Side Rendering (SSR) and SEO, while the backend relies on a normalized MySQL database to handle complex relational data like room inventory, bookings, and employee records.
Scope & Features: The system includes a live room booking engine with date-range picking, and a comprehensive Admin Panel that features a complete HR module—tracking staff attendance, managing shifts, and automatically calculating monthly salaries.
2026
3 Weeks
Explores hotel rooms, checks date availability, views amenities, and makes direct bookings through the public website.
Manages check-ins, check-outs, room statuses, and guest requests in real-time via the operational dashboard.
Manages staff profiles, tracks daily attendance, calculates leaves, and processes automated monthly salary slips.
Has full access to the MySQL database, oversees all hotel branches (if any), and monitors total revenue and payroll reports.
Designed the hotel website layout and structured a complex MySQL schema to handle both room bookings and HR/Payroll data simultaneously.
Developed the guest-facing website using Tailwind CSS. Built the core booking logic, handling date overlaps, room types, and pricing availability.
Engineered the internal ERP dashboard. Built Next.js API routes to log staff attendance, calculate daily wages, deduct leaves, and generate salary reports.
Optimized the Next.js frontend for SEO to drive organic hotel bookings. Executed rigorous testing on the payroll module before live deployment.
Our Expertise
Guests can select check-in/check-out dates, view real-time room availability, and book directly. The system automatically blocks dates in MySQL to prevent double-booking.
A dedicated HR module where managers can log daily staff attendance, track check-in/out times, and manage half-days or paid leaves directly from the dashboard.
The ERP automatically calculates monthly wages based on the employee's base salary, present days, applied leaves, and generates exportable salary slips.
Hotel admins can easily add new room categories, update pricing dynamically for peak seasons, and change gallery images via the backend.
The Next.js SSR-optimized website improved Google rankings, leading to a 35% increase in commission-free direct bookings.
Automated attendance-to-salary calculations saved the HR department roughly 15 hours of manual Excel work every month.
The strict MySQL transactional queries completely eliminated the issue of double-booked rooms during peak tourist seasons.
Brought guest-facing UI and internal staff management into a single, unified digital platform.
Building an ERP alongside the public website within Next.js creates an incredibly powerful, unified system without needing separate tech stacks.
Structuring a robust MySQL relational database is the most critical step when handling intertwined data like room inventory, bookings, and employee attendance.
Breakdown of the full-stack hotel & ERP development
Total Project Hours
Delivered across a 3-week sprint
Weeks Duration
Automated Payroll (%)
DB Tables Created
Problem: Handling room availability queries when multiple users try to book dates that partially overlap.
Wrote complex MySQL queries to check date intersections before confirming a booking, ensuring 100% accurate room inventory.
Problem: Calculating salaries dynamically based on half-days, unpaid leaves, and variable month lengths (28 vs 31 days).
Engineered a custom Node.js/Next.js utility function that cross-references the attendance log against the base salary to output accurate daily wage deductions.