Wert App uses a minimal, file-based configuration model. There is noDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/lucavallini/wert-app/llms.txt
Use this file to discover all available pages before exploring further.
.env file or dedicated config file — the only thing you need to provide before running the app is a single text file containing your MySQL root password. All other settings, including database connection parameters and API keys, are hardcoded in the source files.
Required files
passwordBDD.txt
This is the only configuration file you must create manually. Place it in the project root directory (the same folder asmain.py) before running the app for the first time. It must contain your MySQL root password as plain text on a single line.
database/conexion.py before any database connection is attempted. If the file is missing or the password is incorrect, the app will fail to start.
Database connection settings
The following parameters are hardcoded indatabase/conexion.py and are used for every database connection the app makes. Your MySQL installation must match these settings.
| Parameter | Value |
|---|---|
host | localhost |
user | root |
port | 3306 |
database | registro_usuarios |
getConexion function in database/conexion.py directly.
The app automatically creates the
usuarios and notas tables on first run via setTables(). However, it does not create the database itself — you must create the registro_usuarios database in MySQL before running the app.API keys
ExchangeRate API
The app uses the ExchangeRate API v6 to fetch live currency conversion rates. The API key is hardcoded on line 6 ofapi/change_api.py:
https://v6.exchangerate-api.com/v6/. If the request fails or returns a non-200 status, get_rate returns None and the conversion feature will be unavailable.
World Bank API
The World Bank API requires no authentication key. The app accesses it athttp://api.worldbank.org/v2 without any credentials. Each request for economic indicator data uses per_page=5 to retrieve the 5 most recent data points.