Fastapi advanced tutorial with document database and connection pooling

Опубликовано: 11 Июнь 2026
на канале: Coders Page
3,045
38

Learn how to use FastAPI to create routes in individual files and use connection pooling with a document and graph database.

FastAPI: https://fastapi.tiangolo.com/
ArangoDB: https://www.arangodb.com/
Httpx: https://www.python-httpx.org/

00:00 Introduction
00:36 Install database in Docker
04:00 Test the database
04:37 Setup FastAPI in VScode
05:35 Requirements file and start the virtual environment
08:42 Create FastAPI application
11:50 Install Thunder Client to test the API
14:25 Setup the Python interpreter
15:45 Create external file for the home route
19:09 Create external file for a route to create an item
23:45 Import httpx
25:50 Database pool
33:25 AQL query
38:00 Use the connection pool
46:28 Create an item and test it