WashFlow

Precision Operations for the Modern Car Wash.

WashFlow is a high-velocity management system designed for multinational car wash chains. It bridges the gap between customer convenience (B2B/B2C) and high-tech station operations.


Inspiration

The car wash industry is often fragmented, relying on manual queues and paper-based tracking. We wanted to build a "Smart Station" ecosystem where IoT, real-time scheduling, and global fleet management converge into a single, sleek dashboard.

What it does

WashFlow handles the entire lifecycle of a vehicle service:

  • Intelligent Booking: Customers or B2B fleet managers schedule slots based on real-time bay availability.
  • Station Operations (Kanban): A digital "Command Center" for staff to track vehicles from Waiting to Washing to QC.
  • Global Admin: Executive-level insights into revenue, chemical inventory levels, and branch performance.
  • Fleet Management: Dedicated portals for corporate partners to manage their company vehicles and credit lines.

How we built it

  • Frontend: ViteJS with React & TypeScript for a lightning-fast, type-safe developer experience.
  • Backend: Next.js App Router (Server Actions) to handle high-performance data mutations.
  • Database: MongoDB (Local & Atlas) using Mongoose for structured schema modeling.
  • Styling: TailwindCSS & Lucide Icons for a clean, professional "Enterprise-Ready" UI.
  • Infrastructure: Containerized using Docker and deployed on a VPS for full control over the environment.

Challenges we ran into

  • Database Connectivity & RBAC: One of our biggest hurdles was managing MongoDB’s Role-Based Access Control (RBAC). We encountered "Unauthorized" errors during seeding, which taught us the importance of authSource=admin parameters and managing root-level database permissions.
  • Data Synchronization: Connecting disparate models (Customers, Vehicles, Bookings, and Locations) while maintaining data integrity across the "Global Admin" and "Local Station" views was a complex architectural puzzle.
  • Populate Logic: Handling nested relationships in MongoDB to ensure customer names and license plates appeared correctly in the operations dashboard.

Accomplishments that we're proud of

  • Real-Time Queue Management: Successfully implementing a Kanban system that reflects the physical state of the wash station.
  • B2B Fleet Integration: Building a system that treats corporate fleets as first-class citizens with dedicated management tools.
  • Automation: Auto-deducting chemical inventory when a wash is marked as "Completed."

What we learned

  • DevOps Essentials: We took a deep dive into Docker, learning how to containerize a full-stack app and its database for consistent deployments.
  • Server Management: Deploying to a VPS taught us about environment variables, reverse proxies, and securing a live production server.
  • Schema Design: We learned that a well-thought-out Mongoose schema is the foundation of a scalable multinational app.

What's next for WashFlow

  • IoT Integration: Connecting physical ANPR (License Plate Recognition) cameras directly to the check-in API.
  • AI Analytics: Predictive modeling to suggest "Dynamic Pricing" based on weather forecasts and peak hours.
  • Mobile App: A dedicated React Native app for tĂ©cnicos to use on tablets inside the washing bays.

Built With

Share this project:

Updates