From fdc61260bb68c05024a14b6072de8d9fbe115c9d Mon Sep 17 00:00:00 2001 From: Llloooggg Date: Fri, 18 Nov 2022 19:45:29 +0300 Subject: [PATCH] =?UTF-8?q?backend:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20flask2postman?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- README.md | 5 +++++ backend/requirements.txt | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 426ddb7..9326bd4 100644 --- a/.gitignore +++ b/.gitignore @@ -302,4 +302,5 @@ fabric.properties # End of https://www.toptal.com/developers/gitignore/api/pycharm,visualstudiocode,flask config.json -temp/ \ No newline at end of file +temp/ +text_souls_postman.json \ No newline at end of file diff --git a/README.md b/README.md index f1208e9..69114ae 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,11 @@ ### Бэкенд Все действия производить из папки backend! +###### Получение карты эндпоинтов для Postman +``` +flask2postman textsouls.app --name "TextSouls" --folders > text_souls_postman.json +``` + ###### Создание/подготовка БД ``` scripts/updatedb.sh diff --git a/backend/requirements.txt b/backend/requirements.txt index 5cbdf29..80d6249 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -6,6 +6,7 @@ Flask==2.2.2 Flask-Admin==1.6.0 Flask-Migrate==4.0.0 Flask-SQLAlchemy==3.0.2 +flask2postman==1.4.4 greenlet==2.0.1 importlib-metadata==5.0.0 importlib-resources==5.10.0