Mashdun
AI GrowthWorkCapabilitiesIntegrationsProcessLabsMarketplaceBlogAbout
Get in Touch
Mashdun

Full-stack web developer, AI engineer & growth marketer. Building production-grade apps and intelligent solutions.

Navigation

  • Portfolio
  • Capabilities
  • Process
  • Labs
  • About

Resources

  • Blog / Notes
  • Marketplace
  • Contact
  • RSS Feed

Legal

  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Do Not Sell or Share
  • Delete my data

© 2026 Mashdun. All rights reserved.

Built with Next.js, Tailwind CSS & Prisma

    Back to Work
    Web Development
    Beverage / Manufacturing

    Tri-Springs — Private Label Water, Quote to Invoice

    Client: Tri-Springs

    One Next.js app serving three audiences for a Tennessee spring water bottler — a public brochure site, a staff dashboard running quotes, production orders, invoices and bill-of-materials costing, and a tokenized proof page where private-label customers approve their own label artwork.

    Next.js
    TypeScript
    React
    PostgreSQL
    Prisma
    Tailwind CSS
    Supabase
    Live Site
    Tri-Springs desktop screenshot
    Tri-Springs mobile screenshot

    Context & Objective

    Tri-Springs ran on a WordPress + Oxygen Builder site with quoting and label approvals happening off-system. They needed one place where a private-label enquiry becomes a priced quote, an accepted quote opens a production run, and the customer signs off on the artwork before anything is printed.

    Outcome

    Replaced the WordPress site and the off-system paperwork with a single application. Quotes, orders and invoices are numbered per year and costed from a real bill of materials; every label approval is recorded with the name, timestamp and IP of whoever approved it.

    Key Highlights

    • Quote → production order → invoice, with per-year document numbering that never reissues a number
    • Bill-of-materials costing at four granularities — per bottle, case, pallet and order — with scrap and whole-unit rounding
    • Cost snapshots on each order, so a supplier price change never rewrites a finished job's margin
    • Label designer storing artwork as millimetre-based JSON, versioned on every save
    • Shared pure SVG renderer — what a customer approves is exactly what staff designed
    • Print preflight for bleed, safe margin, minimum type size, image DPI and required blocks
    • Tokenized 30-day proof links with no customer login, recording name, timestamp and IP on approval

    Tech Highlights

    • Next.js 16 App Router + Server Actions + TypeScript + Tailwind CSS v4
    • Prisma 7 + Supabase PostgreSQL, money stored as integer cents throughout
    • NextAuth v5 with an optimistic cookie gate and authoritative per-action staff checks
    • RLS on every table with no anon/authenticated policies — the app connects as a dedicated role
    • Resend for transactional email; proof pages served noindex to protect unreleased branding

    Published

    August 1, 2026

    Interested in something similar?

    Let's discuss your project.

    Get in Touch