Source Code: https://github.com/endrekrohn/fastws
This is an example project for how one can structure an application around FastWS. Please see read the README.md in the project repo to understand it further 👨💻
You can open this project in a devcontainer using VSCode if you would like. You can use the VSCode command Tasks: Run Task
and chooose Run API
to start the API.
To manually install the project first install poetry
and install the necessary dependencies with the command:
poetry install --with dev
Then start the API with the following command:
poetry run uvicorn api.main:app --log-level debug --host 0.0.0.0 --port 8000 --reload
If you have any questions please raise an issue or send me an email at [email protected] 👉👉.