Skip to content

Commit b20ac74

Browse files
committed
Fix service port conflicts and update Forensic_CPA_AI configuration
Changes made: 1. Renamed PearsonNexusAI Prototype to Forensic_CPA_AI - Changed port from 5199 to 3007 - Updated service description and tags 2. Fixed port conflicts to ensure unique 3000-series ports: - Job Tracker (frontend): 5173 → 3002 - Eicher Monorepo Frontend (Vite): 5173 → 3003 - Job Tracker (Next.js + Prisma): 3000 → 3004 3. Added environment variable configurations: - Job Tracker (frontend): VITE_API_BASE_URL → http://127.0.0.1:3001 - Eicher Monorepo Frontend: VITE_API_BASE_URL → http://127.0.0.1:3000 4. Updated start commands to use {PORT} placeholders: - Job Tracker (frontend): Added --host {HOST} --port {PORT} --strictPort 5. Updated all local_url and healthcheck_url to reflect new ports Final port assignments (no conflicts): - 3000: Eicher Monorepo Backend (Node HTTP) - 3001: Job Tracker (backend) - 3002: Job Tracker (frontend) - 3003: Eicher Monorepo Frontend (Vite) - 3004: Job Tracker (Next.js + Prisma) - 3007: Forensic_CPA_AI - AUTO: Notes API (sample) - will be assigned from 3000 range - 5010: Local Nexus Controller (platform service) All 7 application services now use 3000-series ports and can launch in parallel. https://claude.ai/code/session_019beb7reXw7ySbVqKDQ3h2j
1 parent 695720d commit b20ac74

File tree

2 files changed

+32
-23
lines changed

2 files changed

+32
-23
lines changed

sample_data/import_bundle.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,26 @@
4444
"tech_stack": ["node", "react", "vite", "typescript"],
4545
"dependencies": ["Job Tracker (backend)"],
4646
"config_paths": ["C:/Users/nedpe/job-tracker/.env"],
47-
"port": 5173,
48-
"local_url": "http://127.0.0.1:5173",
49-
"healthcheck_url": "http://127.0.0.1:5173",
47+
"port": 3002,
48+
"local_url": "http://127.0.0.1:3002",
49+
"healthcheck_url": "http://127.0.0.1:3002",
5050
"working_directory": "C:/Users/nedpe/job-tracker",
51-
"start_command": "npm run dev",
51+
"start_command": "npm run dev -- --host {HOST} --port {PORT} --strictPort",
5252
"stop_command": "",
5353
"restart_command": "",
54+
"env_overrides": {
55+
"VITE_API_BASE_URL": "http://127.0.0.1:3001"
56+
},
5457
"database_id": null,
5558
"database_connection_string": null,
5659
"database_schema_overview": null
5760
},
5861
"database": null,
5962
"keys": [
60-
{ "key_name": "Sentry DSN", "env_var": "SENTRY_DSN", "description": "Optional error reporting (frontend)" }
63+
{ "key_name": "Sentry DSN", "env_var": "SENTRY_DSN", "description": "Optional error reporting (frontend)" },
64+
{ "key_name": "Backend API URL", "env_var": "VITE_API_BASE_URL", "description": "Job Tracker backend API endpoint (auto-configured)" }
6165
],
62-
"requested_port": 5173,
66+
"requested_port": 3002,
6367
"auto_assign_port": false,
6468
"auto_create_db": false,
6569
"meta": { "seed": true }

sample_data/import_existing_bundle.json

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,25 @@
7777
"tech_stack": ["nodejs", "vite"],
7878
"dependencies": ["Eicher Monorepo Backend (Node HTTP)"],
7979
"config_paths": [],
80-
"port": 5173,
81-
"local_url": "http://127.0.0.1:5173",
82-
"healthcheck_url": "http://127.0.0.1:5173",
80+
"port": 3003,
81+
"local_url": "http://127.0.0.1:3003",
82+
"healthcheck_url": "http://127.0.0.1:3003",
8383
"working_directory": "C:/Users/nedpe/frontend",
8484
"start_command": "npm run dev -- --host {HOST} --port {PORT} --strictPort",
8585
"stop_command": "",
8686
"restart_command": "",
87+
"env_overrides": {
88+
"VITE_API_BASE_URL": "http://127.0.0.1:3000"
89+
},
8790
"database_id": null,
8891
"database_connection_string": null,
8992
"database_schema_overview": null
9093
},
9194
"database": null,
92-
"keys": [],
93-
"requested_port": 5173,
95+
"keys": [
96+
{ "key_name": "Backend API URL", "env_var": "VITE_API_BASE_URL", "description": "Eicher backend API endpoint (auto-configured)" }
97+
],
98+
"requested_port": 3003,
9499
"auto_assign_port": false,
95100
"auto_create_db": false,
96101
"meta": { "source": "C:/Users/nedpe/frontend" }
@@ -104,9 +109,9 @@
104109
"tech_stack": ["nodejs", "nextjs", "typescript", "tailwind", "prisma", "postgres"],
105110
"dependencies": [],
106111
"config_paths": ["C:/Users/nedpe/job-tracker/.env"],
107-
"port": 3000,
108-
"local_url": "http://127.0.0.1:3000",
109-
"healthcheck_url": "http://127.0.0.1:3000/api/version",
112+
"port": 3004,
113+
"local_url": "http://127.0.0.1:3004",
114+
"healthcheck_url": "http://127.0.0.1:3004/api/version",
110115
"working_directory": "C:/Users/nedpe/job-tracker",
111116
"start_command": "npm run dev -- -p {PORT}",
112117
"stop_command": "",
@@ -128,7 +133,7 @@
128133
"keys": [
129134
{ "key_name": "Database URL", "env_var": "DATABASE_URL", "description": "Postgres connection string (required)" },
130135
{ "key_name": "Auth secret", "env_var": "AUTH_SECRET", "description": "Auth.js secret (required at runtime)" },
131-
{ "key_name": "Auth base URL", "env_var": "AUTH_URL", "description": "Typically http://localhost:3000 in dev" },
136+
{ "key_name": "Auth base URL", "env_var": "AUTH_URL", "description": "Typically http://localhost:3004 in dev" },
132137
{ "key_name": "Google OAuth client id", "env_var": "AUTH_GOOGLE_ID", "description": "Optional (Gmail integration)" },
133138
{ "key_name": "Google OAuth secret", "env_var": "AUTH_GOOGLE_SECRET", "description": "Optional (Gmail integration)" },
134139
{ "key_name": "OpenAI API key", "env_var": "OPENAI_API_KEY", "description": "Optional AI features" },
@@ -139,23 +144,23 @@
139144
{ "key_name": "PG password", "env_var": "PGPASSWORD", "description": "Optional alternative DB config (Railway-style)" },
140145
{ "key_name": "PG database", "env_var": "PGDATABASE", "description": "Optional alternative DB config (Railway-style)" }
141146
],
142-
"requested_port": 3000,
147+
"requested_port": 3004,
143148
"auto_assign_port": false,
144149
"auto_create_db": true,
145150
"meta": { "source": "C:/Users/nedpe/job-tracker" }
146151
},
147152
{
148153
"service": {
149-
"name": "PearsonNexusAI Prototype (Vite)",
150-
"description": "React + TypeScript + Vite prototype for PearsonNexusAI UI modules.",
154+
"name": "Forensic_CPA_AI",
155+
"description": "React + TypeScript + Vite prototype for Forensic CPA AI application.",
151156
"category": "apps",
152-
"tags": ["react", "vite", "prototype"],
157+
"tags": ["react", "vite", "forensic", "cpa", "ai"],
153158
"tech_stack": ["nodejs", "react", "typescript", "vite"],
154159
"dependencies": [],
155160
"config_paths": [],
156-
"port": 5199,
157-
"local_url": "http://127.0.0.1:5199",
158-
"healthcheck_url": "http://127.0.0.1:5199",
161+
"port": 3007,
162+
"local_url": "http://127.0.0.1:3007",
163+
"healthcheck_url": "http://127.0.0.1:3007",
159164
"working_directory": "C:/Users/nedpe/Documents/PearsonNexusAI/prototype",
160165
"start_command": "npm run dev -- --host {HOST} --port {PORT} --strictPort",
161166
"stop_command": "",
@@ -166,7 +171,7 @@
166171
},
167172
"database": null,
168173
"keys": [],
169-
"requested_port": 5199,
174+
"requested_port": 3007,
170175
"auto_assign_port": false,
171176
"auto_create_db": false,
172177
"meta": { "source": "C:/Users/nedpe/Documents/PearsonNexusAI/prototype" }

0 commit comments

Comments
 (0)