DHBW-DB_2023_24_App
Version: 0.2.14
This project is a Database Management Web Application for MySQL and MongoDB. It provides features such as table conversion, data import, and report generation.
- ⚙️ Table Conversion: Convert tables between different formats.
- 📥 Data Import: Upload and insert data into your database.
- 📊 Report Generation: View statistical reports.
- ✏️ Table Editing: Modify existing tables with ease.
- 🔄 Reload Functionality: Refresh data instantly.
-
Clone the repository:
git clone https://github.com/karkessler/dhbw-db-2425.git cd dhbw-db-2425
-
Set and activate a virtual environment:
python -m venv .venv source .venv/bin/activate # On Windows
-
Install dependencies:
pip install -r requirements.txt
-
Set environment variables: (via
.env
file)SECRET_KEY=... MYSQL_HOST=... MYSQL_USER=... MYSQL_PASSWORD=... MYSQL_DB_NAME=... MONGO_HOST=... MONGO_PORT=27017... MONGO_DB_NAME=telematik...
-
Run the application:
flask run (or PyCharm, Visual Code, ...)
├── app.py # Main Flask Application
├── .env # Environment Variables
├── api
│ ├── routes
│ │ ├── route.py # Route Handlers
├── core # Core functionalities
├── data # Data files (CSV, JSON)
│ ├── 01_fahrzeug.csv
│ ├── unfall.json
├── events # Event Handling
├── infrastructure # Backend and Helpers
│ ├── common
│ │ ├── # Common infrastructure
│ ├── config
│ │ ├── config.py # Configuration File
│ ├── database
│ │ ├── helpers
│ │ │ ├── helpers.py # Additional Database Helpers
│ ├── service # Business Logic
│ ├── logging # Logging Configuration
├── static # CSS, JS, Images
├── tests # Unit and Integration Tests
├── web # Frontend
│ ├── templates # HTML Templates
│ │ ├── index.html
│ │ ├── layout.html
│ │ ├── add_data.html
│ │ ├── convert.html
│ │ ├── reports.html
│ │ ├── select_table.html
│ │ ├── view_table.html
This README uses the version displayed from the project: Version 0.2.14.
- 🧑💻 Developer: Karsten Keßler
- 🏫 Organization: DHBW Stuttgart
MIT License © 2024 Karsten Keßler, DHBW Stuttgart