Skip to content

Elizabethstella/Databse-Programming

Repository files navigation

IoT Data Dashboard

A comprehensive full-stack IoT data monitoring dashboard built with Flask, SQLAlchemy, and WebSockets. Designed for database programming courses with proper normalization, security, and modern UI.

🚀 Features

  • Real-time Data Monitoring: Live sensor data updates via WebSocket
  • Sensor Management: Add, edit, and manage IoT sensors with API keys
  • Alert System: Threshold-based alerts with severity levels
  • Data Analytics: Historical data analysis with interactive charts
  • User Authentication: Secure login and registration system
  • Responsive Design: Modern, mobile-friendly UI with feminine styling
  • RESTful API: Complete API for sensor data ingestion
  • Database Optimization: Proper indexing and time-series data handling

🛠 Tech Stack

Backend

  • Flask - Web framework
  • SQLAlchemy - ORM with PostgreSQL/SQLite
  • Flask-SocketIO - Real-time WebSocket communication
  • Flask-Login - User authentication
  • Flask-WTF - Form validation and CSRF protection

Frontend

  • Bootstrap 5 - Responsive UI framework
  • Chart.js - Interactive data visualization
  • Font Awesome - Icons
  • Vanilla JavaScript - Client-side functionality

Database

  • PostgreSQL (Production) - Robust relational database
  • SQLite (Development) - Lightweight development database

📦 Installation

Quick Start with Docker

# Clone the repository
git clone <repository-url>
cd iot-dashboard

# Copy environment file and configure
cp .env.example .env
# Edit .env with your settings

# Start with Docker Compose
docker-compose up -d

# Access the application
open http://localhost:5000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published