AI Agent Instructions for Next.js Dashboard Template
This is a **Next.js 14+ frontend** with App Router that connects to a separate NestJS backend API. The app uses cookie-based JWT authentication with automatic token refresh, role-based access control, and real-time WebSocket integration.