update api

This commit is contained in:
2026-06-11 21:28:04 +05:30
parent 0736712464
commit 807d68c9b4
25 changed files with 1167 additions and 84 deletions

7
.env.example Normal file
View File

@@ -0,0 +1,7 @@
# DoorMile Admin Console — environment
# Base URL for the admin backend API. All service calls are prefixed with this.
VITE_API_BASE_URL=http://localhost:8000/api/v1
# When 'true', services resolve mock adapter payloads instead of hitting the network.
# Flip to 'false' once the backend is reachable — no page code changes required.
VITE_USE_MOCK=true