Admin Panel (minimal)

This is a small static admin UI scaffold wired to the backend endpoints discovered in your Swagger UI HTML. Each page includes inputs for API Base and an optional Authorization token.

Version 1.1

All pages include shared script admin/js/main.js for helper functions.

Vendor Login

Sign in via Firebase Auth to obtain an idToken that automatically fills the Authorization inputs on every admin page.

Not signed in

Token is stored locally (key: nicheAdminIdToken) and will auto-populate the Authorization fields on the offers, add-ons, products, and reviews pages.