chore(env): add example environment configuration files for backend and frontend

This commit is contained in:
2026-03-08 16:14:52 -04:00
parent 0c9a747935
commit cb7f94fd5c
3 changed files with 27 additions and 1 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ You can configure Sharpbin using environment variables or `appsettings.json`. Wh
#### Frontend (SharpbinV3.Client)
- `VITE_API_URL`: The URL of the backend API (e.g., `http://localhost:8080`).
- `VITE_ALLOWED_HOSTS`: A comma separated list of allowed hosts (e.g., `localhost,sharpbin.whoswhip.dev`)
- `VITE_ALLOWED_HOSTS`: A comma separated list of allowed hosts (e.g., `localhost,sharpbin.cc`)
- `VIEW_INTERNAL_API_KEY`: Enforces views to be counted/recorded only by the frontend, if set it needs to be the same for both backend and frontend.
The frontend will be accessible at http://localhost:5173.