A modern, responsive dashboard for monitoring sensor data in real-time. Built with React, TypeScript, and Tailwind CSS.
- 🔐 Secure authentication system
- 📊 Real-time sensor data visualization
- 📱 Responsive design for all screen sizes
- 🌙 Dark mode interface
- 📈 Interactive charts and graphs
- ⚡ Fast and efficient data updates
- 🔔 Real-time notifications
- ⚙️ Customizable sensor settings
- Node.js 16.x or later
- npm 7.x or later
-
Clone the repository:
git clone https://github.com/yourusername/sensor-dashboard.git cd sensor-dashboard
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open http://localhost:5173 in your browser.
For demo purposes, use these credentials:
- Email: [email protected]
- Password: password
src/
├── components/ # Reusable UI components
├── contexts/ # React contexts
├── hooks/ # Custom React hooks
├── pages/ # Page components
├── services/ # API and other services
├── types/ # TypeScript type definitions
└── utils/ # Utility functions
npm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production buildnpm run lint
- Run ESLint
Users can customize:
- Which sensors are visible
- Data refresh intervals
- Display preferences
The dashboard uses Tailwind CSS for styling. Customize the theme in tailwind.config.js
:
module.exports = {
theme: {
extend: {
colors: {
navy: {
950: '#0a192f',
900: '#0f2744',
800: '#1a365d',
700: '#2a4365',
}
}
}
}
}
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.