PK
HEALTHY
Syncing live data…
Shift Command
Awaiting Sales
Connect Square or enter projected sales below
Revenue Per Labor Hour
RPLH · $30 minimum
Net Sales Today
from Square
Labor %
target —
Prime Cost
target 65%
Per Cover
avg check
🌟 Top Item to Push Tonight
No push items configured
Add your top margin items in Menu Engine
Push This Because
⚠ Waste Risk Items Tonight
Prioritize These
✓ No current waste risks — you're clean tonight
Feature these items in tonight's specials and 86 anything past safe use before service starts.
🔥 Profit Leak Warning — Yesterday
— no data yet
⚡ Lock In Tonight's Plan
Set your numbers — briefing and alerts update instantly
Live Preview ↑
Mar 10 – Mar 16, 2026
TEEZBYDEEZ · 1 LOCATION · 🟢 VERCEL LIVE
Weekly Operating Status
HEALTHY
Healthy
Operations are inside target range and no immediate correction is needed.
Awaiting data
Revenue / Week
Labor Budget
Scheduled Labor
Labor Position
RPLH
Recommended Action
Maintain staffing levels and continue pushing high-margin items through service.
📊
No live operating data yet
Connect your POS, roster, and schedule
to generate today's actions
Weekly Profit Intelligence
Money Found This Week
Estimated Impact
+$0
Labor Optimization
Running 28.0% under target this week
+$0
🍽️
Menu Pricing Intelligence
Contribution margin tracking active
+$0
📦
Waste & Prep Reduction
Prep quantities aligned to forecast
+$0
📉
Plate Drift Watch
No significant portion variance detected
+$0
At $199/mo, PrimeKitchen pays for itself in ~1 day of protected profit.
Industry Benchmark Network
How You Stack Up
Casual Dining · $1.5M–$3M
Northeast Region
Overall Percentile
Connect data to see how you compare
Prime Cost
You
Peer Avg
63.4%
Top 10%
56.9%
No data yet
Labor %
You
Peer Avg
33.1%
Top 10%
28.4%
No data yet
Food Cost
You
Peer Avg
30.3%
Top 10%
26.1%
No data yet
RPLH
You
Peer Avg
$74
Top 10%
$96
No data yet
Benchmarks based on anonymized aggregate data · Updated weekly · 247+ restaurants in peer network
💰 Money Found This Week
LIVE AUDIT
est. $ / year opportunity
Conservative estimate · Based on this week's signals
① Labor over target
$/wk
② Food variance (TvA gap)
$/wk
③ Vendor price drift
$/wk
Generates a blunt owner summary
+ the 3 fixes that move cash in 48 hrs
PrimeKitchen OS · Value Realization
Connect Data to Reveal Recovery Potential
Annual Recovery Potential
Software ROI
Leaks Found This Week
0
Once real operating data is connected, PrimeKitchen OS calculates your actual recovery opportunities here.
Revenue Forecast Engine
Connect historical sales data to activate the blended forecast model
Weekly Projection — Detailed
Blended Baseline + Events
Day DOW Avg PY Same Wk Blended Base YOY Growth Adj Baseline Event Rev ⭐ Total Net YOY %
No forecast data. Connect your POS or enter historical sales to generate projections.
Shift Schedule
Set real shift times for each employee — Opener · Mid · Closer — labor calculates automatically
Week of —
Opener (AM)
Mid
Closer (PM)
Split
OFF
Employee Schedule
0 Employees
Employee Position Mon Tue Wed Thu Fri Sat Sun Hrs Rate Proj Labor
📅
No schedule yet
Add employees to the roster to start building the schedule
WEEK SUMMARY
Total Hrs
Labor Cost
📅No schedule built yet — add employees and assign shifts to see labor analysis.
⏱️ Weekly Labor Tracker
Actual hours worked from POS punches · Projected totals · Overtime warnings
hrs
Total Hrs Worked
Total Labor Cost
OT Risk Employees
Pay Period
This Week
Employee Role Worked Sched Left Projected OT Risk Labor Cost Rate
Click Refresh to load POS labor data
Source: pos_labor_punches · Square
📋 Time-Off Request Book
Pending requests auto-highlight affected schedule days · Approve or deny from here
Request Log
0 Requests
Employee
Dates Requested
Type / Reason
Status
Actions
No requests found.
🔄 Shift Trade Requests
Employees requesting shift swaps — approve or deny
No trade requests yet.
Party & Event Intake
Confirmed events auto-layer on top of baseline revenue projection
Confirmed Revenue
$0.00
Confirmed events only
Total Pipeline
$0.00
Including pending
Events This Week
0
3 confirmed · 1 pending
Upcoming Events
0 Events
EventDateTimeGuests F&B MinNet RevDepositStatusActions
RPLH Intelligence
Revenue Per Labor Hour · Labor % Governance · Live Threshold Monitoring
RPLH
Minimum Threshold
vs Prior Period
Weekly Revenue
projected
Labor Budget
target —%
Actual Labor
—% · target
Variance
— hrs scheduled
Labor Cost by Position
Portfolio View
PositionDeptScheduled Total HrsAvg Rate Total Labor% of BudgetRPLH Contrib
📊 Reports & Management
Print-ready reports for management meetings — food cost, labor, inventory counts, prime cost, and more
Period:
Beginning Inventory
Value at period start
Purchases
Invoices in period
Ending Inventory
Value at period end
Food Cost %
vs target N/A
Food Cost by Category
CategoryBeginningPurchasesEndingCost of Goods% of Total Food Cost
Loading…
Period:
Total Labor Hours
Scheduled + actual
Total Labor Cost
Gross wages
Labor %
vs target
RPLH
Revenue per labor hour
Labor by Role / Department
EmployeeRoleHoursRateGross Pay% of Labor
Loading…
Period:
Net Revenue
Food + Bev Cost
Labor Cost
Prime Cost %
Target: under 60%
Prime Cost Trend
PeriodRevenueFood CostFood %Labor CostLabor %Prime CostPrime %vs Target
Loading…
Count Sessions
DateAreaCounterItemsEditsTotal ValueFinalized
Loading count history…
Range:
Total Revenue
Select range
Daily Average
per day with sales
Best Day
Days on Record
from POS sync
Daily Sales Log
From POS sync
DateDayNet SalesCoversLabor CostLabor %RPLHvs Avg
Select a date range above.
🛡️ Guardian Setup — Link Your Kitchen

Connect your PrimeKitchen data source and configure the Guardian alert threshold.

Report Targets
New business day starts at this time — affects dashboard date display and daily reset
Used to correctly assign sales to the right business day
YOY Performance — Last 8 Weeks
WeekNet RevenueLabor $Labor %RPLH
📓 Manager's Log
Daily operational record — auto-populated from your data, editable by managers
📊 Daily Snapshot
Auto-populated
Net Sales
Food Sales
Bev Sales
Labor %
Covers
Avg Check
👥 Staffing
By Department
FOH Count
BOH Count
Bar Count
Total Staffed
0
🎉 Events & Large Parties
Auto-populated
Scheduled Events Today
No scheduled events for this date.
Walk-ins & Untracked Large Parties — add any large groups that came in
📞 Call-offs & No-shows
⚠️ Employee Interactions
🍽️ Kitchen & Food Notes
📝 General Manager Notes
🤖 AI Day Summary
Click Generate Summary to have AI write a professional manager's log entry from today's data.
📚 Recent Log History
Food Waste Control & Yield Management
Treat waste as a measurable operational signal — not just a cost
Est. Weekly Waste Cost
$0.00
↑ Log items below to calculate
Waste % of Food Cost
0.0%
Target: below 3.0% of food cost
Avg Protein Yield
Actual vs. theoretical yield
Top Waste Category
Log entries to identify
Waste Log
to
Category Item QtyUnit CostTotal LossReason
No entries yet — log your first waste item above
WEEKLY WASTE TOTAL $0.00
Protein Yield Calculator
Actual vs. Theoretical
Industry Yield Benchmarks
ProteinMin YieldTargetMax Trim Loss
Beef Tenderloin68%72–75%32%
NY Strip / Ribeye75%78–82%25%
Chicken Breast85%88–92%15%
Salmon Fillet78%82–86%22%
Pork Loin72%76–80%28%
Lamb Rack62%65–70%38%
Shrimp (16/20, shell-on)60%62–65%40%
Waste Analysis & Signals
Operational Intelligence
Log waste entries to generate analysis
Weekly Waste Targets by Category
Protein
≤ 2% of protein purchases
Produce
≤ 5% of produce purchases
Dairy
≤ 3% of dairy purchases
Prepared Items
≤ 4% of batch cost
Total Waste/Food Cost
≤ 3.0% target
Kitchen Leadership Scorecard
Daily waste log completed Not started
Waste % vs target Needs data
Yield checks performed 0 this week
Menu items flagged for waste 0 flagged
Production Discipline — Batch Forecasting
Prep vs. Par
Prep Item Historical ParAdj. Par (Events) Actual PreppedVarianceAction Signal
Add prep items in Recipe Studio to see batch forecasts
Restaurant Profit Architecture Framework
PrimeKitchen OS · Powered by TeezByDeez Hospitality Operations · The bridge between culinary skill and financial leadership
The Core Mission
Why This Exists

Chefs get fired for financial problems, not culinary ones. The Restaurant Profit Architecture Framework exists to prevent that — by teaching kitchen leaders to see their operation the way ownership sees it: as an economic system where creativity must be balanced with discipline.

This framework translates the financial language of restaurant ownership into operational tools chefs can actually use. It covers prime cost control, labor economics, menu contribution margin, vendor strategy, and leadership accountability — all structured as a repeatable, scalable system.

6
Training Modules
3
Real Case Studies
4
Implementation Phases
Restaurant Profit Model
Visual Framework
Revenue
↓ minus
Food Cost (target 28–32%)
↓ minus
Labor Cost (target 28–35%)
↓ equals
Prime Cost (target ≤ 65%)
↓ minus
Operating Expenses
↓ equals
Operating Profit (target 10–15%)
Labor Elasticity Model
Visual Framework
Sales Velocity
↓ determines
Target Labor %
↓ calculates
Labor Dollar Budget
↓ divided by
Avg Blended Wage Rate
↓ equals
Required Labor Hours
↓ becomes
The Schedule
🤖 PrimeKitchen Copilot
Your AI-powered restaurant operations partner. Ops advice, recipe creation, specials, and integrity audits — all powered by live restaurant context.
AI Usage
— / 300 this month
PrimeKitchen Copilot
PROACTIVE · REACTIVE · ALWAYS LEARNING YOUR OPERATION
Live · AI Ready
PK

Hello — I'm your PrimeKitchen OS Executive Advisor, built on the TeezByDeez Restaurant Profit Architecture Framework.

I can help you with:
Labor management — scheduling from forecast, RPLH, overtime control
Food cost control — TvA gap analysis, portioning, vendor pricing
Menu engineering — Stars/Puzzles/Workhorses/Dogs, margin analysis
Kitchen leadership — team performance, bench building, stewardship

Ask me anything. I'll give you specific numbers, not vague advice.

PrimeKitchen OS · A TeezByDeez Hospitality Intelligence System · v557 Elite

📡 Live Context:
Quick add: Shift+Enter for new line · Enter to send
Prime Cost Control Panel
The holy grail of restaurant profitability — food cost + labor cost = prime cost
Chef Education Mode OFF — showing operator view
Weekly Prime Cost Entry
Live Calculation
Prime Cost Results
Enter Revenue, Food Cost, and Labor above to calculate Prime Cost
Operational Recommendations
👥
Labor Adjustment Required
Enter your labor data above to see specific reduction recommendations. Use RPLH to identify which positions are over-deployed relative to covers.
→ Go to Shift Schedule tab → reduce low-volume shifts
📋
Menu Price Review Triggered
Connect your invoice data to see live food cost recommendations. Review your top 10 items by sales volume for pricing opportunities. A $1 price increase on a high-volume item at 50 weekly covers = $2,600/year in recovered margin. Also check portioning compliance — over-portioning is often invisible but costly.
→ Use Menu Contribution Margin tool in Framework tab
🗑
Waste Investigation
When prime cost runs over target, waste is almost always a contributing factor — even when it's not immediately visible on the P&L. Check: overproduction from the prior week, trim loss on your highest-cost proteins, and prep batch sizes vs. actual covers served. Every dollar of preventable waste goes directly against food cost.
→ Go to Waste & Yield tab → log and categorize this week's waste
Prime Cost History — Last 8 Weeks
Trend View
WeekRevenueFood Cost %Labor %Prime Cost %vs TargetStatus
No weekly history yet.
Inventory Intelligence
Restaurants lose massive margin through over-ordering, dead inventory, and poor turnover discipline
Chef Education Mode OFF — showing operator view
Food Inventory
Click + to add item
Category Item Item # QtyUnitOn Hand Value $Unit CostWeekly Usage TurnoverDays Inv.vs ParSignal
Add inventory items above to get started
Total Inventory On Hand
$0
Sum of all on-hand dollar values
Dead Inventory Items
0
Items over 2× par level
Avg Days of Inventory
Target: 3–5 days
Avg Weekly Turnover
Target: 2–3× per week
📊 Inventory Variance Intelligence
Compare any two counts from your history — or pick a date range up to 14 months. Variance calculates automatically.
📥 Select Counts to Compare
Step 1
Compare Saved Counts
Click "Load My Counts" to pull from your count history and compare any two periods.
▶ Or paste CSV manually
Sales Velocity Forecasting
Day-of-week patterns + seasonality → recommended prep levels and staffing
Chef Education Mode OFF — showing operator view
Day-of-Week Revenue Velocity
Historical Baseline
Mon
No data
Tue
No data
Wed
No data
Thu
No data
Fri
No data
Sat
No data
Sun
No data
div>
Velocity vs. Weekly Average
No velocity data yet. Historical sales will populate this view.
Prep Quantity Recommender
Based on Velocity
Projected Revenue
Enter forecast above to calculate
Enter revenue forecast above to calculate prep quantities
Staffing Recommender
Revenue-Aligned
Enter a revenue forecast above to calculate recommended staffing
Key Principle

Build your schedule from the revenue forecast — not from who's available or who always works that day.

👥 Employee Performance Hub
Click any employee card to open their full performance review
Total Staff
0
Add employees to activate
Avg Perf Score
No data yet
Flagged Staff
0
No employees yet
Top Performer
No employees yet
Plate Cost Drift Monitor
Detect margin erosion from vendor increases, portion creep, and yield drift — the hidden profit leak
Chef Education Mode OFF — showing operator view
Total Annual Drift Loss
$0
All tracked items combined
Items Above Target FC%
0
Food cost above threshold
Avg Drift %
0.0%
Across all tracked items
Items Tracked
0
Add items below to start
Add / Update Menu Item
Plate Cost Entry
Menu Item Drift Analysis
0 items
ItemPriceOrig CostCurr Cost Drift $Drift %FC% NowTarget FC% Loss/WkLoss/YrSuggest PriceStatus
No items tracked yet — add an item above to get started
End of Shift Report
Today
TeezByDeez
Auto-populated from Square + Schedule
Net Sales
Labor Cost
Food Cost
est · no invoice
Prime Cost
tgt 65%
RPLH
$30 min
Covers
avg check —
Staffing & Labor
Loading from schedule…
Waste Risk · Cash
Loading waste log…
Cash recon: not started
Manager Notes
Manual Override
Daily Log — Last 7 Days
from pos_sales_daily
DateNet SalesLabor %Food Cost %Prime Cost %RPLHOrdersStatus
Loading from database…
💵 Cash Reconciliation
Count drawers · Cross-reference POS · Calculate deposit
🖥 POS Data
📊 Summary
Total Cash Counted $0.00
− Starting Banks $0.00
Expected Cash (POS) $0.00
Over / Short $0.00
− Tip Outs Paid $0.00
− Other Draws $0.00
NET DEPOSIT $0.00
Float Reconciliation
Float Target $2,750.00
Expected in Box $0.00
Counted in Drawers $0.00
FLOAT OVER / SHORT $0.00
💵 Petty Cash Float
Independent ledger · separate from deposit
Float Target
$
Draws Tonight
$0.00
Float Balance
$2,750.00
Status
✓ Float OK
No draws recorded — tip outs auto-added when entered
Float Ledger — Last 14 Days
No history yet
📋 Petty Cash Count Sheet
Count 3× daily · Opening · Mid-Shift · Closing · All draws wired in
Currency & Coin Count
Denomination # Bills Amount
Total Counted $0.00
Float Verification
Float Target $0.00
− Tip Outs Paid $0.00
− Other Draws $0.00
Should Be in Box $0.00
You Counted $0.00
Float Status
✓ BALANCED
Over / Short
$0.00
Today's Counts
No counts saved yet today
💰 Tip Outs
No tip outs recorded
TOTAL TIPS OUT $0.00
✍️ Sign-Off
📁 History
No saved reconciliations yet
Labor Intelligence Engine
Revenue drives labor — not the other way around
Chef Mode
DATA SOURCES: ● Square Live ● Schedule ● Roster Wages ● KPI Targets
Engine Status
Waiting for live data...
Sync live data or enter override values below
RPLH
Revenue Today
from Square
Labor %
target
Scheduled Hours
FOH + BOH
Labor Cost
from schedule
Labor Budget
Revenue × target labor %
Hour Variance
Scheduled vs budget hours
Position Breakdown
FOH · BOH Analysis
TeamSched HrsLabor $ Budget HrsVarianceRPLHDecision
Sync data to see position breakdown
⚙ Manual Override — No live data detected
Menu Engineering Engine
Food cost % tells you how much. Contribution margin tells you how much you keep. Both matter — together.
Chef Education Mode OFF — showing operator view
Add Menu Item
Build Your Analysis
Menu Quadrant Matrix
⭐ STARS
HIGH MARGIN · HIGH POPULARITY
🧩 PUZZLES
HIGH MARGIN · LOW POPULARITY
🐎 WORKHORSES
LOW MARGIN · HIGH POPULARITY
🐕 DOGS
LOW MARGIN · LOW POPULARITY
Suggested Actions
Full Menu Analysis
All Items
ItemCatPriceCostFC%CMCovers/WkWk MarginYr MarginClassificationSuggested Action
No menu items yet. Add items using the form above to see your menu engineering analysis.
Kitchen Profit Score
A real-time composite score across labor efficiency, menu margin health, and waste control — what owners see instantly
Overall Kitchen Profit Score
No Data Yet
out of 100
Labor Efficiency — / 35
No labor data yet
Menu Margin Health — / 40
50% Stars/Puzzles · Avg FC 31.4% vs 31.3% target
Waste Control
Use Waste & Yield tab to score
Score Breakdown & Benchmarks
How Scoring Works
Labor Efficiency (35 pts)
Based on RPLH vs minimum threshold, labor % vs target, and FOH/BOH balance. Full points at RPLH ≥ $45 and labor % on target.
Menu Margin Health (40 pts)
Based on avg food cost % vs target, % of items classified as Stars/Puzzles, and contribution margin mix. Full points when avg FC% ≤ target and 50%+ of items are Stars or Puzzles.
Waste Control (25 pts)
Based on waste % of food cost vs 3% target and number of critical waste items logged. Full points at waste % ≤ 2%.
Score Scale
Performance Bands
90–100
Elite Kitchen — Ownership-level discipline
80–89
Strong Performance — Minor improvements available
70–79
Developing — Systems present but inconsistent
50–69
At Risk — Immediate operational review needed
0–49
Critical — Emergency intervention required
Manual Score Calculator
Use if engines aren't populated
🏭 Vendor Price Catalog & Import
Three ways to get pricing in — upload a CSV, scan a photo with AI, or browse your catalog
1
Choose Your Vendor
This sets the expected column order for your file
Expected Column Order — Curtze
ItemCode · Description · Pack · Size · Unit · Brand · Price · Category
First row = header row. Price column must be a number (no $ sign needed).
2
Upload Your File
Drop a .csv file, or paste the data directly below
📂
Drop your vendor CSV file here
or click anywhere in this box to browse
Accepts: .csv · .txt · .xlsx
or paste CSV data
3
Review Import Results
No file imported yet — complete steps 1 and 2 above
Import a file above to see results here
🔥 Profit Leak Detector
Auto-wired · runs on live data
DATA: ● Square Live ● Schedule ● Waste Log ● KPI Targets ⚙ Override inputs Not yet run today
📡 Operator Intelligence Suite
The complete metrics picture — what operators and investors actually need to see
System Confidence Score
/100
Connect a data source to activate
❌ No POS Connected ❌ No Labor Data ❌ No Inventory Data
No trend data yet. Connect your POS to surface leading indicators.
Break-Even Sales / Day
No data
Overhead % of Revenue
No data
CC + Delivery Fee Drag
No data
Comp / Void Leakage
No data
Comps This Week
No data
Refunds / Chargebacks
No data
Contribution Margin
Cash on Hand / Runway
No data
COGS Split by Category — TvA Variance
This Week
Category PurchasesTheo FC%Actual FC% Variance$ Impact/WkAnnualTvA Signal
No COGS data yet. Upload invoices or connect POS to activate TvA variance tracking.
Overtime Hours / Week
No schedule data
Payroll Burden %
Taxes + benefits on labor
Labor — Dinner Daypart
No daypart data
Labor — Lunch Daypart
No daypart data
Late Clock-Ins (Week)
No attendance data
Schedule Adherence
No attendance data
90-Day Retention Rate
Add roster history to calculate
Turnover Cost Est.
Per BOH replacement
Channel Mix
This Week
No channel data yet. Connect POS to see dine-in vs takeout vs delivery split.
Table Turns & Seat Utilization
Revenue Driver
Turns/Night
Seat Utilization
Avg Turn Time
No-Show Rate
Each 10min reduction in turn time = +0.4 turns/night = measurable weekly revenue gain
Server Performance — This Week
FOH Intelligence
# Server Sales/CoverBev Attach%Dessert% Avg CheckCoversTotal SalesScore
Add employees and sales data to generate upsell rankings
Gap analysis: Add server sales data to generate upsell gap analysis.
Inventory Accuracy Score
No inventory data
Par-Level Violations
No par data
Stockout Events (Week)
No inventory data
Vendor Price Variance
No invoice data
Top Modifier Profitability
Hidden Stars
ModifierAdd-PriceReal CostMarginAttach %Weekly $
No modifier data yet. Add menu items with modifiers to activate.
Menu Complexity Score
Simplify to Profit
Total Active SKUs
Items sold < 5/wk (Dogs)
Avg ticket time
Add menu items to calculate complexity score.
Location Performance vs Group Benchmarks
0 Locations
Location Labor %vs Avg Food Costvs Avg Prime CostRPLH Revenue/Seat Rating
No location data yet. Add restaurants to see cross-location benchmarking.
🔌 POS Data Integrations
Import sales and labor data from any POS system using CSV upload. Native API integrations coming soon.
Sales Records
days imported
Labor Punches
shifts imported
Last Sync
Never
upload timestamp
Labor %
vs net sales
💰
Sales CSV Upload
Daily sales totals from any POS
📄
Drop sales CSV here
or click to browse
Required CSV format
date,gross_sales,net_sales,comps,voids,discounts,guests
2026-03-01,12000,11000,200,50,300,240
2026-03-02,9800,9100,100,20,250,198
⏱️
Labor Punches CSV
Clock in/out from timeclock or POS
📋
Drop labor CSV here
or click to browse
Required CSV format
employee_name,role,clock_in,clock_out,pay_rate
John Cook,Line Cook,2026-03-01T15:55:00,2026-03-01T22:05:00,18.50
Sara Smith,Server,2026-03-01T16:10:00,2026-03-01T21:45:00,8.00
Recent POS Data
Last 7 days imported
Upload sales or labor data to see summary
🔜 Native POS Connections Square Live · Others Coming Soon
🖥️
Toast
API sync
🟩
Square
Checking…
🖥️
Clover
API sync
🖥️
TouchBistro
API sync
🖥️
Lightspeed
API sync
🖥️
Aloha
API sync
📑 Invoices & P&L
Import invoices from any vendor, track all expenses, and generate weekly & monthly P&L automatically.
No data yet — upload invoices and sales data first.
🛒 Vendor Order Builder
Build orders from inventory pars, detect price changes, and send directly to your vendors.
Items below par level, grouped by vendor
🎉 All items are above par — no orders needed right now.
📦
Distributor Intelligence Engine
Usage-driven reorder prediction · Vendor price intelligence · Rep sales dashboard
What it does
Calculates real ingredient usage from your sales + recipes, then predicts exactly what you need to reorder — before you run out.
Why distributors love it
Rep walks in already knowing what you need. Restaurants order consistently. No more emergency calls or forgotten orders.
What you stop losing
Over-ordering, emergency fill-ins, and vendor price creep cost the average operator 3–5% of food cost every week. This engine catches it before it hits your P&L.
0
Items Due for Reorder
Based on 7-day usage
0
Critical — Order Today
Below safety stock level
$0
Projected Order Value
Upload vendor sheets to calculate
0
Price Alerts Active
No alerts this week
📦 Predicted Reorder List — Week of March 3
14 items
Item
7-Day Usage
On Hand
Suggest Order
Est. Cost
Action
How predictions work
📊 Sales data × recipe yields = actual ingredient consumption per dish
📦 On-hand inventory subtracted from projected weekly usage
🔢 Safety stock buffer added (2 days of usage) to prevent stockouts
💰 Best vendor price from your price guide applied to each line
⚙️ SaaS Backend Architecture
Everything you need to turn PrimeKitchen OS from a prototype into a subscription product with real data
🔌 Live Sync Status
API Base
(relative — same origin)
Auth Token
✓ Present (eyJhbGciOiJI…)
Restaurant ID
AI Endpoint
https://primekitchen-api.vercel.app/api/chat
Data Mode
🟢 Live
API Reachable
💳 Billing & Subscription
Manage your PrimeKitchen OS subscription and locations
PROFESSIONAL
Current Plan
Executive
$149 / location / mo
Active Locations
1
of unlimited
Monthly Total
$199.00
Next billing Apr 8, 2026
Status
ACTIVE
📄 Billing History
Date Description Amount Status
🔐 Role-Based Access Control
Manage who can see and do what — per location
Permission Matrix
6 Roles
Permission Owner Area Dir. GM Manager Accountant Staff
View dashboard & KPIs
Edit schedule
Approve time-off requests
View P&L reports
Edit invoices & expenses
Manage vendor orders
Adjust inventory counts
Run AI Advisor
View Integrity Auditor
Switch between restaurants
Manage team members & roles
Billing & subscription
View own schedule
Submit time-off requests
Stack Recommendation (Launch-Speed Optimized)
Backend
Node.js + Express
Fast to ship. POS APIs love it.
Database
Postgres + Prisma
Supabase or Neon for hosting.
Auth
JWT + bcrypt
Or swap to Supabase Auth later.
Billing
Stripe Subscriptions
Checkout + webhooks included.
Multi-Tenant
Org → Restaurant → Location
One operator, many units.
POS Layer
Connector Framework
6 providers, 1 normalized model.
Your HTML stays as-is initially. The backend gives it real data. You replace demo tables with API calls one tab at a time.
Build Order (Ship Fast, Scale Later)
1
Scaffold the project
Create the folder structure: primekitchen-saas/ with src/, prisma/, pos/connectors/. Copy package.json and .env.example from the architecture docs above.
mkdir primekitchen-saas && cd primekitchen-saas
npm init -y && npm i express prisma @prisma/client bcryptjs jsonwebtoken stripe cors zod
npx prisma init
2
Database schema (multi-tenant)
Paste the Prisma schema. Key tables: User · Organization · Membership · Restaurant · Location · PosConnection · MetricDaily. The MetricDaily table stores all financial data in cents (integer precision).
npx prisma migrate dev --name init
# Creates all tables in Postgres
# MetricDaily stores: netSalesCents, laborCostCents, laborHours, foodCostCents, covers
3
Auth (register + login + JWT)
POST /api/auth?action=register creates User + Organization + Membership(OWNER) in one transaction. POST /api/auth?action=login returns a 7-day JWT with userId, orgId, role. All protected routes use requireAuth middleware.
POST /api/auth?action=register → { token, user, org }
POST /api/auth?action=login → { token, user, org }
GET /api/org?action=me → { org } (requires Bearer token)
4
Stripe subscriptions (3 tiers)
Create 3 products in your Stripe dashboard. Wire POST /api/billing/checkout → Stripe Checkout Session. The webhook at /api/billing/webhook upgrades org.plan on checkout.session.completed and downgrades on subscription.deleted.
Plan: FREE → all tabs visible, limited access only
Plan: STARTER → POS sync enabled, 1 restaurant, $149/mo
Plan: PRO → multi-location, all features, $199/mo
5
Wire your HTML to the API
Add the 40-line API client to your HTML. Call loadRestaurantsFromAPI() to populate the portfolio bar. Call loadDailyMetrics(restaurantId) to replace dashboard placeholder data. All existing calculations stay unchanged — only the data source changes.
const token = localStorage.getItem('pk_token');
const { restaurants } = await api('/restaurants');
const { metrics } = await api('/metrics/daily?' + qs);
# Replace demo objects with metrics[i].netSalesCents / 100
6
Add a login screen
Add a login overlay to your HTML that shows before the app loads. On successful login, store the JWT in localStorage. On page load, check for token — if none, show login. Takes about 60 lines of HTML + JS.
if (!getToken()) showLoginScreen();
else loadApp();

async function login(email, pw) {
const { token } = await api('/auth/login', { method:'POST', body: JSON.stringify({email,password:pw}) });
setToken(token); loadApp();
}
POS Integration Status — 6 Systems
🟠 Toast
Client Credentials
Server-to-server OAuth2. Client ID + Secret stored in env. Auto-refreshes token every hour. API endpoints are account-scoped.
✓ Auth wired ✓ Connector built ⚠ Endpoints account-specific ○ Sales fetch TODO
🟦 Square
OAuth2 Auth Code
Full OAuth2 flow. GET /square/start → callback → token exchange. Orders Search API gives daily sales per location. Labor API optional.
✓ Auth wired ✓ OAuth callback ✓ Orders fetch ⚠ Labor = optional
🟢 Clover
OAuth v2
OAuth2 auth-code. MerchantId + region baseUrl stored in metadata at callback time. Orders/payments endpoints vary by app scopes.
✓ Auth wired ✓ OAuth callback ○ Sales fetch TODO ○ Labor fetch TODO
🔵 Lightspeed
OAuth Auth Code
K-Series. OAuth2 auth-code flow. Tenant apiBase stored in metadata. Sales/labor endpoints defined in their portal per account.
✓ Auth wired ✓ OAuth callback ○ Endpoints need portal
🔴 SpotOn
API Key (x-api-key)
Simplest integration. API key stored in env + connection record. No OAuth dance needed. Endpoints are location-centric.
✓ Auth wired ✓ Connector built ○ Endpoint mapping TODO
⚫ TouchBistro
Partner API
Partner/private API. Connector shell is ready. Requires TouchBistro partner API access to get real endpoints. Best contacted directly.
✓ Connector shell ⚠ Needs partner access ○ Endpoints TODO
Recommended Pricing Tiers
Free
$0
forever · limited access
All UI tabs (view only)
Shift Command Screen
Manual data entry
1 restaurant, 1 user
No POS sync
No AI Advisor
Pro
$199
per location / month
Everything in Operator
All 6 POS integrations
Operator Intelligence Suite
Nightly leak audit (auto)
Unlimited users + locations
Benchmark comparisons
What to Build First — Priority Order
This Week
1. Login screen in HTML
2. Node + Postgres local setup
3. Register + login endpoints
4. Replace portfolio bar with API data
Next 2 Weeks
5. Stripe checkout + webhook
6. Square OAuth (first POS win)
7. MetricDaily sync for dashboard
8. Deploy to Render / Railway
Month 2
9. Toast + Clover integrations
10. Nightly auto-sync (cron job)
11. Onboard 3 paying beta customers
12. Add mobile responsive polish
Market When Ready
At $149/mo × 3 locations avg:
10 operators = $4,470 MRR
50 operators = $22,350 MRR
200 operators = $89,400 MRR
Labor Efficiency Heatmap
Sales Per Labor Hour · Where you profit · Where you bleed
Peak SPLH · Best Hour
Lowest SPLH · Worst Hour
Red Zone Hours This Week
Est. Excess Labor Cost
Green: SPLH > $40 — Optimal
Yellow: $25–$40 — Monitor
Red: < $25 — Cut Now
No data
⚙ Manual data override
📋 Inventory Count Scanner
Photograph handwritten count sheets — AI reads them, matches items, flags outliers, and builds your variance report
1
Upload Sheet
2
AI Extracts
3
Review Draft
4
Finalize
5
Variance Report
or upload
📝
Upload Count Sheet
Handwritten or printed sheets
Phone photos are fine
Count Session Setup
Recipe Cost Studio
Real food cost · Kitchen cards · Specials
Recipe Details
Ingredients
Ingredient Qty Unit $/Unit Cost
Batch Cost: $0.00
Instructions & Plating
Cost Intelligence
● LIVE
—%
0% Target: % 50%
Batch Cost
Cost Per Plate
Suggested Price
Contribution Margin
⚖️ Yield Scaler
Team Management
Invite staff, assign roles, and control who sees what. Managers come and go — this is built for that.
Add Team Member
Email *
Name
Role
Current Team
Loading team...
⚙️ Account Settings
Manage your profile, restaurant, and subscription
🤖 AI Usage & Token Packs
Monthly Base Queries — included with your plan, resets monthly
— / — this month
— requests remaining · resets Apr 1
🪙 Token Pack Balance
Kicks in automatically when monthly base runs out · never expires · rolls over each month
0
Buy Token Packs — only needed when monthly base runs out
Starter Pack
250 queries
$7
$0.028 per query
BEST VALUE
🔥
Value Pack
750 queries
$17
$0.023 per query
💪
Power Pack
2,000 queries
$39
$0.020 per query
💡 How it works: Your monthly base resets every month. Pack tokens never expire — they sit in your balance and only draw down after your monthly base is used up. When the month resets, it goes back to using your base first.
🖥️ Display Preferences
👤 Your Profile
🔑 Change Password
Password updated.
⭐ Subscription
Current Plan
Starter Plan
$199 / location / month
Active
✓ Full labor & scheduling
✓ Revenue forecasting
✓ Profit leak detector
✓ Vendor management
✓ Email support
Choose a Plan
🏠 Your Restaurants
⚠️ Account
Sign out of PrimeKitchen OS on this device.
📷 Scan Document
Hold steady — auto-captures when image is clear
0%