This is the frontend of the Network Traffic Dashboard, built with Next.js, TypeScript, Chakra UI, and Recharts. It visualizes real-time network traffic data using WebSockets.
- 📡 Live WebSocket Data Streaming - Real-time updates from the server.
- 📊 Interactive Charts - Uses
recharts
to visualize network traffic. - 🎨 Responsive UI - Built with Shadcn/ui for a modern and adaptive design.
- ⚡ TypeScript-Powered - Ensures better type safety and maintainability.
- 🌐 Multi-Interface Support - Displays network data for multiple interfaces.
- Frontend: Next.js, TypeScript, Shadcn/ui, Recharts
- Backend: Network Traffic Dashboard API (Express.js WebSocket Server)
- Data Source: Network traffic data (via API/WebSocket)
-
Clone the repository
git clone https://github.com/KaivanKeren/mikrotik-web.git cd mikrotik-web
-
Install dependencies
npm install # or yarn install
-
Run the application
npm run dev # or yarn dev
-
Connect to the WebSocket server
- Ensure the backend WebSocket server is running.
Update the WebSocket server URL in src/config.ts
:
export const WS_URL = "ws://localhost:9090";
Contributions are welcome! Feel free to fork this repository, open issues, and submit pull requests. 🚀
This project is licensed under the MIT License. See the LICENSE file for details.
🚀 Happy Coding! 🎉