Программирование [Michael Herman] Разработка через тестирование с помощью FastAPI и Docker (2021)

Просмотры:
680
Ответы:
0
Мегамодератор
Модератор
Редактор
16 Сен 2019
8,073
Голосов: 0
0.0 5 0 0 https://m5.megasliv.pro/threads/michael-herman-razrabotka-cherez-testirovanie-s-pomoschju-fastapi-i-docker-2021.182237/
#1
Автор: Michael Herman
Название: Разработка через тестирование с помощью FastAPI и Docker (2021)

1.jpg


Описание:

Язык: Английский

Автор: Michael Herman

В первой части, вы научитесь разрабатывать асинхронное RESTful API с помощью Python, FastAPI и Postgres. Вы создадите контейнер с FastAPI and Postgres для запуска в Docker и настроите pytest для практики Test-Driven Development (TDD).

1. Develop an asynchronous RESTful API with Python and FastAPI
2. Practice Test-Driven Development
3. Test a FastAPI app with pytest
4. Interact with a Postgres database asynchronously
5. Containerize FastAPI and Postgres inside a Docker container
6. Run unit and integration tests with code coverage
7. Check your code for any code quality issues via a linter

Во второй части, вы задеплоите FastAPI, Gunicorn, Uvicorn и Postgres на Heroku с помощью Docker. Затем вы продолжите создание RESTful API по мере написания unit и integration тестов.

1. Configure GitHub Actions for continuous integration and deployment
2. Use GitHub Packages to store Docker Images
3. Speed up a Docker-based CI build with Docker Cache
4. Deploy FastAPI, Uvicorn, and Postgres to Heroku with Docker
5. Parameterize test functions and mock functionality in tests with pytest
6. Run tests in parallel with pytest-xdist
7. Document a RESTful API with Swagger/OpenAPI
8. Run a background process outside the request/response flow

Используемые технологии и сервисы

Python, FastAPI, Docker, Postgres, Tortoise ORM, Uvicorn, Gunicorn, Swagger/OpenAPI, pytest, Coverage.py, Flake8, Black, isort, HTTPie, GitHub Actions, GitHub Packages, Heroku.

Подробнее:
Для просмотра содержимого вам необходимо авторизоваться.


Скачать:
 
Сверху
Премиум-доступ
Премиум на месяц
450 ₽
Премиум навсегда
450 ₽