No description
- HTML 82.4%
- JavaScript 17.6%
|
|
||
|---|---|---|
| .github/workflows | ||
| .vscode | ||
| public | ||
| .gitignore | ||
| bun.lock | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| server.bun.js.bak | ||
| server.js | ||
Transfer Portal (Bun)
This project now runs as a Bun server (no Azure Functions runtime required).
Prerequisites
- Bun installed
Environment Variables
PORT(optional, default:3000)
Data Storage
Requests are currently stored in memory on the server process. This means data is cleared whenever the app restarts. A persistent server DB can be wired in later without changing the API routes.
Install
bun install
Run (development)
bun run dev
Run (production style)
bun run start
Endpoints
GET /api/requests?status=<received|in-review|approved|denied>POST /api/requestsPATCH /api/requests/:id/status
Static UI is served from public/.