DEV Community

loading...
Cover image for Flask app with postgreSQL

Flask app with postgreSQL

anja profile image Anja ・1 min read

Hi! In my video I'm showing you a Flask app that I have connected with PostgreSQL. We are also using pgadmin4, Psycopg2 (a database adapter) and SQLAlchemy. Have a nice day! :)

➤Code:
https://github.com/Lumary2/Python/tree/master/Python_HTML_flask

➤Timestamps:
0:00 Introduction
0:16 Which libraries we use
1:37 Tutorial overview
2:10 Flask app
8:33 Create table, post and get data
12:12 Solve error "connection refused"
Postgres conf file (path Manjaro): /var/lib/postgres/data/postgres.conf
ArchWiki: https://wiki.archlinux.org/index.php/PostgreSQL

Discussion (0)

Forem Open with the Forem app