Standards alignment: Document .js tools deviation, fix port 3030, enhance tool documentation
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user