- Revised the development setup section in CURRENT_STATUS.md for clarity and completeness. - Improved environment variable validation with default values in env.ts. - Enhanced error handling in errorHandler.ts to provide clearer feedback on validation issues.
2.4 KiB
2.4 KiB
Full System Status Check
Generated: 2025-01-15
Status Summary
Core Services
- Webapp: ✅ Running
- Orchestrator: ✅ Running
Access URLs
- Frontend: http://localhost:3000
- Backend: http://localhost:8080
- Health: http://localhost:8080/health
Detailed Status
1. Process Status
- Node.js processes running
- Memory and CPU usage tracked
2. Port Status
- Port 3000: ✅ LISTENING (Webapp)
- Port 8080: ✅ LISTENING (Orchestrator)
- Port 5432: ⚠️ Not running (PostgreSQL - optional)
- Port 6379: ⚠️ Not running (Redis - optional)
3. Webapp Status
- Status: ✅ Running
- URL: http://localhost:3000
- Status Code: 200 OK
- Response: Accessible
4. Orchestrator Status
- Status: ✅ Running
- URL: http://localhost:8080
- Response: Accessible
5. Health Check Endpoints
- Health Endpoint: Accessible (may return 503 if database not connected)
- Status: Service responding
- Note: Database connection is optional for development
6. API Endpoints
/api/version: Available/metrics: Available (Prometheus metrics)
7. Database Services (Optional)
- PostgreSQL: ⚠️ Not running (optional for development)
- Redis: ⚠️ Not running (optional for development)
8. Configuration
- Orchestrator .env: ✅ Exists
- Configuration: Valid
9. Build Status
- Orchestrator: ✅ Built (using ts-node in dev mode)
- Webapp: ✅ Built (Next.js dev mode)
10. Dependencies
- Orchestrator: ✅ Dependencies installed
- Webapp: ✅ Dependencies installed
Notes
-
Database Services: PostgreSQL and Redis are optional for basic development. The orchestrator will work without them, though some features may be limited.
-
Health Check: The health endpoint may return 503 if the database is not connected. This is expected behavior in development mode.
-
Development Mode: Both services are running in development mode with hot-reloading enabled.
Quick Commands
Check Status
.\scripts\check-status.ps1
Start All Services
.\scripts\start-all.ps1
View Logs
- Check individual console windows for service logs
- Orchestrator logs: Console window or terminal running
npm run dev - Webapp logs: Console window or terminal running
npm run dev
System Status: ✅ All Core Services Operational