/flask-postgresql-app

A simple Flask application that demonstrates how to build data-driven Python apps in Azure App Service.

Primary LanguagePythonMIT LicenseMIT

services platforms author
app-service\web,app-service
python
cephalin

Flask and PostgreSQL sample for Azure App Service

This is a sample application that you can use to follow along with the tutorial at Build a Python and PostgreSQL web app in Azure.

The sample is a simple Python Flask application that connects to a PostgreSQL database via SQLAlchemy.

The database connection information is specified via environment variables DBHOST, DBPASS, DBUSER, and DBNAME. This app always uses the default PostgreSQL port.

Contributing

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.