Aqua Analytics is a Django-based web application for monitoring, analyzing, and controlling water-related systems. It provides dashboards, insights, statistics, and alert management for sensor and motor data.
- Interactive dashboard for real-time data visualization
- Alerts and notifications for system events
- Insights and statistics pages for historical analysis
- Motor control and sensor management
- Modular frontend with reusable components
aqua_analytics/
├── aqua_analytics/ # Django project settings
├── aqua/ # Main app: models, views, templates, static files
│ ├── static/aqua/ # CSS and JS assets
│ ├── templates/aqua/ # HTML templates
│ ├── models.py # Data models
│ ├── views.py # App views
│ └── mongo_client.py # MongoDB integration
├── db.sqlite3 # SQLite database
├── manage.py # Django management script
├── requirements.txt # Python dependencies
└── README.md # Project documentation
- Clone the repository:
git clone cd aqua_analytics - Create a virtual environment (optional but recommended):
python -m venv venv .venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Apply migrations:
python manage.py migrate
- Run the development server:
python manage.py runserver
- Access the dashboard at
http://127.0.0.1:8000/ - Explore pages: Dashboard, Alerts, Insights, Statistics
- Use sidebar navigation for different sections
- Static files:
aqua/static/aqua/ - Templates:
aqua/templates/aqua/ - Main app logic:
aqua/models.py,aqua/views.py - MongoDB integration:
aqua/mongo_client.py





