SHS Admin Dashboard

A admin dashboard for Sahyadri Hospitality Services for creating Invoices, generating reports and managing packages.

Gallery image 1

Purpose

An internal admin dashboard that centralizes every financial and operational workflow for a multi-unit hospitality business into one platform. Staff log in, manage daily operations, and generate reports without switching between spreadsheets and paper registers.


Problem

The business operated across multiple units with no unified system. Purchase bills, sales invoices, supplier payments, staff salaries, and daily cash records were tracked in separate spreadsheets and paper registers. Monthly financial summaries required days of manual reconciliation. Errors were frequent, and real-time visibility into profit margins was non-existent.


Solution

A role-based web dashboard that replaces all manual record-keeping with structured, queryable data.

  • Billing and invoicing with automated calculations across packages, products, and programs
  • Purchase management with supplier tracking, bill entry, and payment history
  • Sales module covering invoices, daily cash collection, and pending payment tracking
  • Staff payroll for monthly salaries, daily wages, and government deductions (PF/Tax)
  • Financial reports including monthly P&L summaries, unit-wise breakdowns, and vendor-wise analysis
  • Role-based access control so each user only sees what they are authorized to access
  • Data export in PDF, Excel, CSV, and TXT formats with print-ready layouts
  • Automated database backups to Google Drive on a configurable schedule

Process

  1. Audited existing workflows across all business units to identify every data entry point
  2. Designed the database schema around units, vendors, clients, and billing entries
  3. Built the dashboard module by module, starting with inventory and billing, then expanding to sales, purchases, payroll, and reporting
  4. Implemented role-based permissions at the middleware level to enforce access control on every route
  5. Added export APIs and PDF generation for accountant-ready financial documents
  6. Deployed on Vercel with Supabase as the backend

Tech Stack

LayerTechnology
FrameworkNext.js 15 (App Router, Turbopack)
LanguageTypeScript
DatabaseSupabase (PostgreSQL)
AuthSupabase Auth with SSR helpers
UITailwind CSS, Radix UI, Recharts
TablesAG Grid Enterprise, TanStack Table
PDF/ExportPDFKit, SheetJS (xlsx), PapaParse
DeploymentVercel
BackupsGoogle Drive API

Impact

  • Replaced 5+ separate spreadsheets and manual registers with a single dashboard
  • Monthly financial reconciliation reduced from 2-3 days to under 10 minutes
  • Real-time profit/loss visibility across all business units and vendors
  • Role-based access enforced for 4+ user roles, eliminating unauthorized data exposure
  • Export-ready reports used directly by accountants without reformatting
  • Automated daily backups eliminated the risk of data loss

Website heavily inspired by Chánh Đại.

Learning as I build. Here's the code