This project is a comprehensive IoT device simulation and monitoring system. It includes a Next.js dashboard for visualizing device data, Node-RED for workflow automation, and Mosquitto as the MQTT broker.
- Frontend: Next.js, React
- Backend: Node-RED
- MQTT Broker: Mosquitto
- Containerization: Docker
- Languages: TypeScript, JavaScript, Python
- Git
- Docker
- Node.js (for local development)
git clone https://github.com/your-username/your-repo.git
cd your-repo
Ensure Docker is installed and running on your machine. Navigate to the project directory and build and start the Docker containers:
docker-compose up --build
For the Next.js dashboard:
cd scheduler-dash
npm install
npm run dev
To run tests for the Next.js dashboard:
cd scheduler-dash
npm run lint
To create a production build for the Next.js dashboard:
cd scheduler-dash
npm run build
npm start
- Access the Next.js dashboard at http://localhost:3000.
- Access Node-RED at http://localhost:1880.
- The Mosquitto MQTT broker is available at
mqtt://localhost:1883
.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.