Skip to content

karkessler/dhbw-db-2425

Repository files navigation

DHBW-DB-2425 – README.md

📚 Project Overview

DHBW-DB_2023_24_App
Version: 0.2.14


📝 Description

This project is a Database Management Web Application for MySQL and MongoDB. It provides features such as table conversion, data import, and report generation.

🚀 Features:

  • ⚙️ 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.

💻 How to Run

Installation

  1. Clone the repository:

    git clone https://github.com/karkessler/dhbw-db-2425.git
    cd dhbw-db-2425
    
  2. Set and activate a virtual environment:

    python -m venv .venv
    source .venv/bin/activate  # On Windows 
    
  3. Install dependencies:

    pip install -r requirements.txt
  4. 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...
    
  5. Run the application:

    flask run (or PyCharm, Visual Code, ...)

📂 Project Structure

├── 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


📈 Version

This README uses the version displayed from the project: Version 0.2.14.

💡 Contributors

  • 🧑‍💻 Developer: Karsten Keßler
  • 🏫 Organization: DHBW Stuttgart

📜 License

MIT License © 2024 Karsten Keßler, DHBW Stuttgart

About

T3INF2004 Datenbanken I

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •