Web admin for openai-proxy. Issues per-user proxy keys, tracks usage, and edits limits. Talks to the proxy's /admin/api/* endpoints over Bearer-token auth.
npm install
npm run dev # http://localhost:5173, /admin/api proxied to localhost:8080Set VITE_API_BASE_URL to override the API host (e.g. http://localhost:8080). With the dev proxy in vite.config.ts, leaving it unset is normally fine.
npm run build # outputs static files to dist/
VITE_API_BASE_URL=https://openai-proxy.dsmhs.kr npm run buildBuilt as a small nginx image:
docker build --build-arg VITE_API_BASE_URL=https://openai-proxy.dsmhs.kr -t admin .
docker run -p 8080:8080 adminThe backend must include this admin's origin in its CORS_ORIGINS env var.