- Added a new section in CURRENT_STATUS.md detailing prerequisites and quick start instructions for development setup. - Updated environment variable validation to include defaults for missing variables in env.ts. - Improved error handling in errorHandler.ts for better validation feedback. - Made various code adjustments across services to ensure robustness and clarity.
86 lines
1.5 KiB
Markdown
86 lines
1.5 KiB
Markdown
# Current Services Status
|
|
|
|
## ✅ Running Services
|
|
|
|
### 1. Webapp (Next.js Frontend)
|
|
- **Status**: ✅ Running
|
|
- **URL**: http://localhost:3000
|
|
- **Port**: 3000
|
|
- **Process ID**: See running processes
|
|
|
|
### 2. Orchestrator (Express Backend)
|
|
- **Status**: 🔄 Starting/Checking
|
|
- **URL**: http://localhost:8080
|
|
- **Port**: 8080
|
|
- **Health Check**: http://localhost:8080/health
|
|
|
|
## ⚠️ Optional Services
|
|
|
|
### 3. PostgreSQL Database
|
|
- **Status**: ⚠️ Not running (requires Docker)
|
|
- **Port**: 5432
|
|
- **To Start**: `docker-compose up -d postgres`
|
|
|
|
### 4. Redis Cache
|
|
- **Status**: ⚠️ Not running (requires Docker)
|
|
- **Port**: 6379
|
|
- **To Start**: `docker-compose up -d redis`
|
|
|
|
---
|
|
|
|
## Quick Commands
|
|
|
|
### Check Status
|
|
```powershell
|
|
# Check ports
|
|
netstat -ano | findstr ":3000 :8080"
|
|
|
|
# Check processes
|
|
Get-Process node
|
|
```
|
|
|
|
### Start Individual Services
|
|
```powershell
|
|
# Webapp
|
|
cd webapp; npm run dev
|
|
|
|
# Orchestrator
|
|
cd orchestrator; npm run dev
|
|
```
|
|
|
|
### Start All (with script)
|
|
```powershell
|
|
.\scripts\start-all.ps1
|
|
```
|
|
|
|
---
|
|
|
|
---
|
|
|
|
## 🔧 Development Setup
|
|
|
|
### Prerequisites
|
|
- Node.js 18+ installed
|
|
- npm packages installed in both `webapp/` and `orchestrator/`
|
|
- `.env` file created in `orchestrator/` (minimal config is fine for dev)
|
|
|
|
### Quick Start
|
|
```powershell
|
|
# From project root
|
|
.\scripts\start-all.ps1
|
|
|
|
# Or manually:
|
|
cd webapp; npm run dev
|
|
cd orchestrator; npm run dev
|
|
```
|
|
|
|
### Status Check
|
|
```powershell
|
|
.\scripts\check-status.ps1
|
|
```
|
|
|
|
---
|
|
|
|
**Last Checked**: 2025-01-15
|
|
|