payfrit-works/api
John Mizerek 51a80b537d Add local dev support and fix menu builder API
Portal local development:
- Add BASE_PATH detection to all portal files (login, portal.js, menu-builder, station-assignment)
- Allows portal to work at /biz.payfrit.com/ path locally

Menu Builder fixes:
- Fix duplicate template options in getForBuilder.cfm query
- Filter template children by business ID with DISTINCT

New APIs:
- api/portal/myBusinesses.cfm - List businesses for logged-in user
- api/stations/list.cfm - List KDS stations
- api/menu/updateStations.cfm - Update item station assignments
- api/setup/reimportBigDeans.cfm - Full Big Dean's menu import script

Admin utilities:
- Various debug and migration scripts for menu/template management
- Beacon switching, category cleanup, modifier template setup

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 22:47:12 -08:00
..
admin Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
assignments Public businesses + servicepoints list endpoints; API allowlist; Lucee-safe JSON 2025-12-28 12:30:06 -08:00
auth Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
beacons Add business portal, Stripe Connect, beacon APIs, and task system 2026-01-01 23:38:26 -08:00
businesses Add business portal, Stripe Connect, beacon APIs, and task system 2026-01-01 23:38:26 -08:00
import Add Payfrit Works (WDS) support and task completion flow 2026-01-03 14:52:04 -08:00
menu Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
orders Add Payfrit Works (WDS) support and task completion flow 2026-01-03 14:52:04 -08:00
portal Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
servicepoints checkpoint 2025-12-28 22:34:01 -08:00
setup Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
stations Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00
stripe Add business portal, Stripe Connect, beacon APIs, and task system 2026-01-01 23:38:26 -08:00
tasks Add Payfrit Works (WDS) support and task completion flow 2026-01-03 14:52:04 -08:00
workers Add Payfrit Works (WDS) support and task completion flow 2026-01-03 14:52:04 -08:00
Application.cfm Add local dev support and fix menu builder API 2026-01-04 22:47:12 -08:00