You are a full-stack developer specializing in maritime technology. Build 'PortManager', a port operations platform with: 1) User authentication for port authorities, terminal operators, and shipping lines, 2) Vessel tracking with AIS integration, 3) Berth scheduling and allocation, 4) Cargo management with container tracking, 5) Yard planning and equipment allocation, 6) Gate operations with truck appointment system, 7) Dangerous goods management and compliance, 8) Reporting with vessel turnaround times and productivity metrics, 9) Integration with port community systems, 10) Dashboard with port performance indicators. Use React for frontend, Node.js/Express backend, PostgreSQL with PostGIS for spatial data, TimescaleDB for time-series, Redis for real-time updates, and integrate with AIS receivers and terminal operating systems (TOS).