todo
This commit is contained in:
parent
645e65626a
commit
e22c7e49a2
31
TODO.md
31
TODO.md
@ -2,30 +2,6 @@
|
||||
|
||||
## High Priority 🔴
|
||||
|
||||
### Environment Configuration
|
||||
|
||||
- [ ] **Create .env file from .env.example**
|
||||
- Copy .env.example to .env
|
||||
- Fill in all required environment variables
|
||||
- Ensure .env is added to .gitignore (already present)
|
||||
|
||||
- [ ] **Add missing environment variables to .env.example**
|
||||
- `AUTHORITY` - OAuth authority URL (used in routes/auth/login.ts, routes/index.tsx)
|
||||
- `CLIENT_ID` - OAuth client ID (used in multiple auth files)
|
||||
- `CLIENT_SECRET` - OAuth client secret (used in multiple auth files)
|
||||
- `REDIRECT_URI` - OAuth redirect URI (used in routes/auth/login.ts, routes/index.tsx)
|
||||
- `REDIRECT_HOME` - Home redirect URL (used in routes/auth/logout.ts, utils/cors.ts)
|
||||
- `REDIRECT_URL` - Base redirect URL (used in utils/database.ts)
|
||||
- `TOKEN_URL` - OAuth token endpoint (used in routes/auth/validate.ts, routes/auth/callback.ts)
|
||||
- `TENANT_ID` - Microsoft Graph tenant ID (used in services/graphAuth.ts)
|
||||
- `BLOB_PATH` - Blob storage path (used in utils/blobStorage.ts)
|
||||
- `BLOB_TOKEN_DEFAULT_EXPIRY` - Default blob token expiry (used in services/webTokenService.ts)
|
||||
- `BLOB_TOKEN_MAX_EXPIRY` - Maximum blob token expiry (used in services/webTokenService.ts)
|
||||
- `BLOB_CREATE_TOKEN_DEFAULT_EXPIRY` - Default create token expiry (used in services/webTokenService.ts)
|
||||
- `BLOB_CREATE_TOKEN_MAX_EXPIRY` - Maximum create token expiry (used in services/webTokenService.ts)
|
||||
- `EDGE_ALLOWED_ORIGINS` - Allowed CORS origins (used in utils/cors.ts)
|
||||
- `E2E_TEST` - Enable E2E test mode (used in services/e2eFixtures.ts)
|
||||
|
||||
### Error Handling Improvements
|
||||
|
||||
- [ ] **Replace console.log statements with proper logging**
|
||||
@ -241,14 +217,7 @@
|
||||
- ✅ LandlordInviteTenant.tsx exists
|
||||
- Email input and invitation sending UI
|
||||
|
||||
## Current Blockers
|
||||
- ❌ **Missing environment variables** preventing proper authentication
|
||||
- ❌ **Missing .env file** for local development
|
||||
- ❌ **Inconsistent error handling** across API routes
|
||||
- ❌ **TypeScript any types** reducing type safety
|
||||
|
||||
## Next Steps
|
||||
1. Create .env file and add missing environment variables to .env.example
|
||||
2. Replace console.log statements with proper logging
|
||||
3. Standardize error handling across all API routes
|
||||
4. Replace TypeScript any types with proper types
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user