Skip to content

AMProduction/SearchMyData-2.0

Repository files navigation

Welcome to the SearchMyData-2.0 App! The web version of the SearchMyData App

License: MIT CodeQL Build and Push Docker Image to Docker Hub Docker Image Version (latest semver) Docker Image Size with architecture (latest by date/latest semver)

Apache Airflow Python Flask MongoDB Docker GitHub Actions

Description

The app gives the possibility to perform a search into the Ukrainian government Open data portal datasets.
At this moment (September 2023) integrated Information on missing citizens, Information about people hiding from the authorities, Unified register of debtors, Unified State Register of Legal Entities, Individual Entrepreneurs and Public Associations (temporarily unavailable) and Integrated Unified State Register of Lustrated Persons.

How to use

Use docker-compose.yml to start services.
The ENV variables:

  • FLASK_DEBUG. True or False. The built-in Werkzeug development server provides a debugger which shows an interactive traceback in the browser when an unhandled error occurs during a request. This debugger should only be used during development.
  • FLASK_APP. The environment variable is the name of the module to import at flask run. Usually main.py.
  • SECRET_KEY. A secret key that will be used for securely signing the session cookie and can be used for any other security related needs by extensions or your application. It should be a long random bytes or str.
  • MONGO_URI. The standard URI connection scheme.
  • MONGO_INITDB_DATABASE. The DB name.
  • DOCUMENTS_PER_PAGE. The count of search result records per page.
  • APP_NAME. In our case searchmydata2.
  • TAG. The app version v2.2b.

Recommended Operating Systems

  • Windows: 10 or newer
  • MAC: OS X v10.7 or higher
  • Linux

Hardware requirements

  • Processor: 2 gigahertz (GHz) or faster processor or SoC
  • RAM: 8+ GB
  • SSD

Prerequisites

Docker

Airflow is tested with:

  • Python: 3.8, 3.9, 3.10, 3.11
  • Databases:
    • PostgreSQL: 11, 12, 13, 14, 15
    • MySQL: 5.7, 8
    • SQLite: 3.15.0+
    • MSSQL(Experimental): 2017, 2019
  • Kubernetes: 1.23, 1.24, 1.25, 1.26, 1.27

See additional info into the SearchMyData-2.0 App wiki


Developed in PyCharm - The Python IDE for Professional Developers.
License kindly provided by JetBrains Community Support Team
JetBrains Logo (Main) logo PyCharm logo PyCharm logo