Currently we have almost all the endpoints tested, it would be needed to test websocket endpoints too. TestClient has websocket_connect to test websockets.
All the websocket endpoints must: close connection if id provided is invalid, or object with such id doesn't exist in db(for now it looks like connection isn't closed even when using .close())
If all is fine, it should add the websocket t
We should document how to integrate with various ASGI frameworks besides Starlette:
The first step would be to moving the current "ASGI sub-mounting" Starlette-specific instructions to new section, e.g. "Integrating with an ASGI web framework". Then we can add more frameworks to the section.
So the examples so far have been relatively basic "Hello World" applications, it would be good to test this against some more complex examples in order to shake out any further fixes/additions to the implementation.
A base Docker image for asynchronous microservices using FastAPI. The Docker image environment is based on Alpine Linux and Python that provides FastAPI with gunicorn and uvicorn workers acting as an Asynchronous Server Gateway Interface (ASGI).