Skip to content

Commit c073874

Browse files
authored
Merge pull request Azure-Samples#4 from vmagelo/main
Add to README, info about requirements
2 parents 60b9242 + 7ca50e5 commit c073874

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,17 @@ This is a Python web app using the Flask framework and the Azure Database for Po
55
If you need an Azure account, you can [create on for free](https://azure.microsoft.com/free/).
66

77
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

Comments
 (0)