Commit graph

2 commits

Author SHA1 Message Date
senke
ad60247f33 feat: global update including storybook setup and backend fixes
- Web: Setup Storybook, added addons, configured Tailwind, added stories for UI components.
- Backend: Updated API router, database, workers, and auth in common.
- Stream Server: Removed SQLx queries and updated auth.
- Docs & Scripts: Updated documentation and recovery scripts.
2026-02-02 19:34:14 +01:00
senke
0f5e5fcdd3 feat(dev): add start_recovery.sh with port checks
Created start_recovery.sh script with port availability checks
before starting services, preventing conflicts and startup failures.

Features:
- check_port() function validates ports 8080 and 5173
- Shows which process is using a port if occupied
- Provides clear instructions to kill processes
- Exits early if ports unavailable (fail-fast)
- Includes health endpoint URL in success message

Benefits:
- Prevents "address already in use" errors
- Clear error messages with remediation steps
- No silent failures or zombie processes
- Matches user's workflow (./start_recovery.sh)

Usage:
  ./start_recovery.sh

If ports in use:
  kill $(lsof -t -i:8080 -i:5173)

Impact: Eliminates port conflict issues in development.

Fixes: P2.4 from audit AUDIT_TEMP_29_01_2026.md
2026-01-29 23:24:03 +01:00