Standards alignment: Document .js tools deviation, fix port 3030, enhance tool documentation

This commit is contained in:
2026-01-14 12:47:22 +00:00
parent 2c384eb734
commit 534016e9d5
6 changed files with 226 additions and 4 deletions
+3 -3
View File
@@ -11,9 +11,9 @@ PocketBase + Microsoft Graph OAuth capture app. Frontend is a Tailwind-powered n
1) Install Bun (https://bun.sh).
2) Add a `.env` file at the project root with the variables below.
3) Install deps: `bun install`
4) Run dev server: `bun run --watch server.ts` (default port 5500).
4) Run dev server: `bun run --watch server.ts` (default port **3030**).
Open http://localhost:5500 and sign in with Microsoft.
Open http://localhost:3030 and sign in with Microsoft.
## Environment variables
| Name | Description |
@@ -25,7 +25,7 @@ Open http://localhost:5500 and sign in with Microsoft.
| `PB_DB` | PocketBase URL (e.g., http://127.0.0.1:8090) |
| `PB_COLLECTION` | Collection to store submissions (default `Job_Info_TestEnv`) |
| `PB_AUTH_COLLECTION` | Auth collection for token refresh (default `Users`) |
| `PORT` | Server port (default 5500) |
| `PORT` | Server port (default **3030**, enforced in package.json `dev` script) |
## Notes
- `getGraphToken()` in `server.ts` is ready for Graph API calls; extend with additional routes as needed.