feat: server-based version with menu flagging, distributed polling, and SSE
Complete implementation including: - Express server with Bessa API proxy - Puppeteer scraper for menu data - Flag storage (file-based persistence) - SSE manager for real-time updates - Polling orchestrator for distributed polling - Frontend with weekly view, ordering, and flagging UI - Yellow/green glow indicators for flagged items
This commit is contained in:
21
debug_friday.js
Normal file
21
debug_friday.js
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
const SESS_KEY = 'c3418725e95a9f90e3645cbc846b4d67c7c66131';
|
||||
const URL = 'https://web.bessa.app/api/v1/venues/591/menu/7/2026-02-13/';
|
||||
|
||||
async function run() {
|
||||
try {
|
||||
const response = await fetch(URL, {
|
||||
headers: {
|
||||
'Authorization': `Token ${SESS_KEY}`,
|
||||
'Accept': 'application/json',
|
||||
'X-Client-Version': '3.10.2'
|
||||
}
|
||||
});
|
||||
const data = await response.json();
|
||||
console.log(JSON.stringify(data, null, 2));
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
|
||||
run();
|
||||
Reference in New Issue
Block a user