BrewTrack — Coffee Shop Loyalty & Orders Dashboard
BrewTrack is a complete HTML dashboard for a coffee shop built around loyalty — repeat customers, drink orders, baristas and rewards — not a generic cafe POS. It covers the whole loyalty business in 12 pages: dashboard, orders, loyalty programme, customers, rewards, menu, baristas, subscriptions, gift cards, promotions, reports and settings. Dark glass design with an emerald accent and amber as a secondary accent, and a light theme included. No build step, no CDN, no external requests — open template/index.html and it just works.
Features: 12 fully designed pages (Dashboard, Orders, Loyalty, Customers, Rewards, Menu, Baristas, Subscriptions, Gift Cards, Promotions, Reports, Settings). Dark glass design, emerald #34D399 with amber #F59E0B, light theme included. Real demo data, fully reconciled — 4,218 counted orders in 1-21 November 2026, $37,970.00 revenue recognised, 1,842 loyalty members, 41,280 points earned, 342 rewards redeemed, 148 subscribers, 86 gift cards. Loyalty-first: one flat earn rule (1 point per $1), three tiers that change perks rather than maths, a reward catalogue with exact point costs, subscription plans with bonus points, and gift cards tracked as money owed — not sales. Interactive with vanilla JavaScript only — redeem a reward (totals update live), issue or adjust a member's points (+50/-50), activate a paused subscription, redeem a gift-card balance, pause or activate a promotion. Loyalty calculator: spend to points earned to how many of the chosen reward that buys to reward value, on the Loyalty page. Hand-written SVG charts, no chart library, no CDN, no Google Fonts, zero external requests. Live search and status filter chips. Subscriptions: Brew Club Lite $8.00, Standard $14.00, Premium $22.00; 138 billed, 6 paused, 4 on free trial; $1,740.00 subscription revenue and $1,814.00 monthly recurring revenue, explained separately. Gift cards in plain words: $2,150.00 sold, $1,280.00 redeemed, $750.00 outstanding (owed in drinks, not revenue), $120.00 expired (never revenue). Fully responsive. Hover is flat lift + glow only, no 3D tilt. Offline documentation included.
HOW THE NUMBERS WORK — READ THIS FIRST: All demo figures cover 1-21 November 2026, USD excluding tax. Tax is added at checkout and never appears in revenue, costs or profit. Orders: 4,280 placed = 4,218 counted + 62 refunded. Refunded orders ($486.00) are counted NOWHERE — not in orders, sales, items or points. Gross sales $38,640.00 = menu prices of paid items: Coffee $24,180.00 + Tea and matcha $4,620.00 + Cold drinks $5,340.00 + Pastries and food $4,500.00; items sold 5,412 + 1,286 + 1,704 + 1,462 = 9,864 paid items; free reward items are not in these counts. Discounts $2,410.00 are their own line = promotion discounts $2,120.00 (Morning Rush $640.00 + First Order App $580.00 + Weekend Bundle $520.00 + Student $380.00) + $5-off reward vouchers $290.00 (58 x $5.00). Gross $38,640.00 - discounts $2,410.00 = net sales $36,230.00. Revenue recognised $37,970.00 = net sales $36,230.00 + subscription revenue $1,740.00; nothing else is revenue. Points, one flat rule: 1 point per $1 of net spend, same for Bronze, Silver and Gold. Points earned 41,280 = order points 36,230 + subscription bonus 2,400 + sign-up bonus 1,850 + promotion bonus 800. Points redeemed 21,340 + expired 2,150 + outstanding 17,790 = 41,280. Expired points (2,150) are NOT money and NOT revenue; points expire after 90 days without a visit. Rewards: 342 redeemed, 21,340 points — Free brewed coffee 96 x 100 pts (9,600) + Free pastry 72 x 60 (4,320) + Free speciality drink 24 x 150 (3,600) + $5-off voucher 58 x 50 (2,900) + Extra shot 92 x 10 (920). Free-item ingredient cost $633.60 is counted in costs once; the $290.00 voucher value is already inside discounts and is NOT also a cost. A free reward item is not a sale ($0 in gross sales, 0 points earned); a $5-off voucher order IS a paid order, with its full menu price in gross sales and $5.00 off as a discount. Members 1,842 = Bronze 1,104 + Silver 512 + Gold 226; 214 new in the period; 1,296 active. Points outstanding by tier: Bronze 6,420 + Silver 5,890 + Gold 5,480 = 17,790. Subscriptions 148 = 138 billed + 6 paused + 4 on free trial. Revenue $1,740.00 = Lite 60 x $8.00 + Standard 57 x $14.00 + Premium 21 x $22.00. Paused and trial subscriptions pay $0 and are not revenue. Drinks taken with a subscription credit are not also counted in net sales — the subscription payment is the sale, counted once. Gift cards: sold $2,150.00 - redeemed $1,280.00 - expired $120.00 = outstanding $750.00; outstanding is money owed in future drinks, not sales; expired $120.00 (6 cards past 12 months) is never revenue; redeemed $1,280.00 is already inside net sales and is not added again. Cash received $38,840.00 is $870.00 more than revenue recognised — exactly the gift-card cash not yet spent. Profit: revenue $37,970.00 - ingredients for paid orders $11,240.00 - ingredients for free reward items $633.60 = gross profit $26,096.40; minus wages $9,860.00, rent $3,200.00 and utilities and supplies $1,480.00 = net profit $11,556.40. Profit is based on revenue earned, not cash received.
What's included: 12 HTML pages (template/): index, orders, loyalty, customers, rewards, menu, baristas, subscriptions, giftcards, promotions, reports, settings; template/assets/css/style.css; template/assets/js/app.js; template/assets/js/charts.js; documentation/index.html; README.txt; CHANGELOG.md; licensing/README.txt. Requirements: any modern browser, no build step, no server, no internet connection. Demo data is fictional.