A modern real-time monitoring dashboard for the city of Heidenheim, Germany, built with Next.js and React.
This dashboard provides city administrators and citizens with real-time insights into various urban infrastructure metrics, including traffic flow, environmental data, and smart city services.
-
Real-Time Monitoring (Currently using mock data - no API connected)
- Bike box occupancy tracking (Fahrradboxen)
- Traffic flow counting (Verkehrszählung)
- Environmental sensor data (temperature, air quality)
- River water level monitoring (Pegelstand Brenz)
- Municipal waste bin status alerts
-
User Interface
- Responsive design for desktop and mobile
- Dark/light theme support
- Real-time data updates with trend indicators
- Interactive data visualizations
- German language interface
Note: This is currently a frontend-only implementation showcasing the dashboard UI with mock data. The backend API integration is pending.
- Framework: Next.js 15.2.4
- Language: TypeScript
- UI Library: React 19
- Styling:
- Tailwind CSS
- Shadcn/ui components
- Radix UI primitives
- Data Visualization: Recharts
- Icons: Lucide React
- Node.js 18.x or higher
- npm or yarn package manager
- Clone the repository:
git clone [repository-url]
cd heidenheim- Install dependencies:
npm installRun the development server:
npm run devOpen http://localhost:3000 in your browser to see the dashboard.
Build the application for production:
npm run buildStart the production server:
npm run start├── app/ # Next.js App Router pages
│ ├── dashboard/ # Main dashboard route
│ ├── layout.tsx # Root layout component
│ └── page.tsx # Home page (redirects to dashboard)
├── components/
│ ├── kokonutui/ # Custom dashboard components
│ │ ├── dashboard.tsx
│ │ ├── smart-city-metrics.tsx
│ │ ├── traffic-monitoring.tsx
│ │ └── environmental-data.tsx
│ └── ui/ # Reusable UI components
├── hooks/ # Custom React hooks
├── lib/ # Utility functions
└── public/ # Static assets
npm run dev- Start development servernpm run build- Build for productionnpm run start- Start production servernpm run lint- Run ESLint
Please read our contributing guidelines before submitting pull requests.
MIT
Just open a issue