- Update frontend .env.local to use https:// for API URLs
- Update admin .env.local to use https:// for API URLs
- Update start-dev.sh to generate .env.local files with HTTPS URLs
- Update backend CORS configuration to allow HTTPS origins
- Change WebSocket URLs from ws:// to wss://
This fixes the Mixed Content error when accessing the app over HTTPS
- Use node_modules/next/dist/bin/next instead of npx for frontend and admin
- Backend uses npm run start:dev directly (no HOST/PORT env vars needed)
- Increase verification wait time to 30 seconds
- Check actual port listening status with ss command instead of just PID
- Provide better error messages with log file paths
- Fix start-dev.sh to use npx for correct port binding (3030 for frontend, 3335 for admin)
- Add aggressive port cleanup to ensure ports are always free before starting
- Fix admin dashboard layout to be client component (resolves MUI theme error)
- Bind all services to 0.0.0.0 for external access:
- Backend: maternal-api.noru1.ro (port 3020)
- Frontend: maternal.noru1.ro (port 3030)
- Admin: pfadmin.noru1.ro (port 3335)
- Create start-dev.sh to start all services on 0.0.0.0 for external access
- Create stop-dev.sh to gracefully stop all dev servers
- Aggressive port cleanup to ensure clean startup
- Backend on 0.0.0.0:3020 (maternal-api.noru1.ro)
- Frontend on 0.0.0.0:3030 (maternal.noru1.ro)
- Admin on 0.0.0.0:3335 (pfadmin.noru1.ro)
- PID tracking and log files in /tmp
- Multiple kill methods to ensure ports are freed