Flask and PostgreSQL sample for Azure App Service

Última atualização: 29/01/2018
Editar no GitHub

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.