🚀 OAPI Mode Control Panel
CURRENT MODE: DEMO
All scripts show "Under Construction" with countdown timers
Quick Mode Switch Instructions
For Live Demo (12:00 Meeting):
- Open each file in VS Code
- Change
$MODE = "DEMO"; to $MODE = "PRODUCTION";
- Save the file
- Repeat for all 4 files
📁 Files to Update
- /oapi/menu.php - Line 6: $MODE = "DEMO";
- /oapi/profile.php - Line 6: $MODE = "DEMO";
- /oapi/reservations.php - Line 6: $MODE = "DEMO";
- /oapi/invoice.php - Line 6: $MODE = "DEMO";
⚡ Super Quick Switch (2-3 minutes max)
DEMO Mode: Shows under construction pages with countdown timers and JWT processing
PRODUCTION Mode: Shows live functionality with all JWT data displayed and working features
Live Demo Process:
- Start Demo - Show under construction pages to developers
- Switch to Production - Change all 4 files from "DEMO" to "PRODUCTION"
- Demo Live System - Show full functionality working
- Switch Back - Change back to "DEMO" if needed
🔗 Test URLs (with sample JWT)
Menu: https://alpha.ankerdata.co.za/oapi/menu.php?jwt=YOUR_JWT_HERE
Profile: https://alpha.ankerdata.co.za/oapi/profile.php?jwt=YOUR_JWT_HERE
Reservations: https://alpha.ankerdata.co.za/oapi/reservations.php?jwt=YOUR_JWT_HERE
Invoice: https://alpha.ankerdata.co.za/oapi/invoice.php?jwt=YOUR_JWT_HERE
💡 Pro Tips for 12:00 Meeting
- Keep VS Code open with all 4 files in tabs
- Use Ctrl+H (Find & Replace) to quickly change all instances
- Test one URL before the meeting to ensure everything works
- Have the JWT token ready that was generated earlier