You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14
Original file line number
Diff line number
Diff line change
@@ -5,3 +5,17 @@ This is a Python web app using the Flask framework and the Azure Database for Po
5
5
If you need an Azure account, you can [create on for free](https://azure.microsoft.com/free/).
6
6
7
7
A Django sample application is also available for the article at https://github.com/Azure-Samples/msdocs-django-postgresql-sample-app.
8
+
9
+
## Requirements
10
+
11
+
The [requirements.txt](./requirements.txt) has the following packages:
12
+
13
+
| Package | Description |
14
+
| ------- | ----------- |
15
+
|[Flask](https://pypi.org/project/Flask/)| Web application framework. |
16
+
|[SQLAlchemy](https://pypi.org/project/SQLAlchemy/)| Provides a database abstraction layer to communicate with PostgreSQL. |
17
+
|[Flask-SQLAlchemy](https://pypi.org/project/Flask-SQLAlchemy/)| Adds SQLAlchemy support to Flask application by simplifying using SQLAlchemy. Requires SQLAlchemy. |
18
+
|[Flask-Migrate](https://pypi.org/project/Flask-Migrate/)| SQLAlchemy database migrations for Flask applications using Alembic. Allows functionality parity with Django version of this sample app.|
19
+
|[pyscopg2](https://pypi.org/project/psycopg2/)| PostgreSQL adapter for Python. |
20
+
|[python-dotenv](https://pypi.org/project/python-dotenv/)| Read key-value pairs from .env file and set them as environment variables. In this sample app, those variables describe how to connect to the database locally. |
21
+
|[flask_wtf](https://pypi.org/project/Flask-WTF/)| Form rendering, validation, and CSRF protection for Flask with WTForms. Uses CSRFProtect extension. |
0 commit comments