new: 17-May-2025
As the ledger uses a Postgres database, our first task is to create a very simple Flask application with its index page. To do the following.
Step One: Create a basic Flask app (server-side explanation only), and ensure that the app successfully links with 'testdb'
Step2: Create and run this app.py [text file] with the correct connection settings to test the communication between the database and the Flask app:
The response in the terminal will indicate whether the connection works or there is an error.
PgLtree/Flask | PgLtree/Flask-PartB |
PgLtree/Flask-Deploy |