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
offers.html to create offers (multipart/form-data).images.html to upload images via the admin API.addons.html to create add-ons and attach them to products.categories.html to manage categories (list tree, create, move, delete, recalc leaf nodes).establishments.html to create establishments and reload /api/Establishment/establishments.products.html to fetch products and view details/add-ons.reviews.html to create review categories, submit establishment reviews, and view establishment review summaries.users-sync.html to trigger the Admin user Firebase sync job.devtools.html (redirects to devtools/index.html) and devtools/image-migrator.js for the image migration script (Postgres → Azure Blob).All pages include shared script admin/js/main.js for helper functions.
Sign in via Firebase Auth to obtain an idToken that automatically fills the Authorization inputs on every admin page.
Token is stored locally (key: nicheAdminIdToken) and will auto-populate the Authorization fields on the offers, add-ons, products, and reviews pages.