Skip to content

Conversation

@trinitrotoluene
Copy link
Contributor

@trinitrotoluene trinitrotoluene commented Apr 4, 2022

Ich hab mir vorgenommen, ein bisschen cleanup bezüglich FastAPI hosting für die WebSocket tasks zu machen. Sollte auch Arbeit an einer web-API deutlich vereinfachen.

Port/host config müsste jetzt über uvicorn laufen per docs hier.

Lokal: uvicorn main:app --reload
Docker: port 5000, config durch envvars möglich

Diese Branch läuft https://cc-server-fibqg.ondigitalocean.app hier.
Zum testen

  • websocket ist auf wss://cc-server-fibqg.ondigitalocean.app/live
  • API auf https://cc-server-fibqg.ondigitalocean.app/users/count

Version check von #5 ist nach anfrage auch mit drin

@trinitrotoluene trinitrotoluene marked this pull request as ready for review April 4, 2022 06:12
@TheCataliasTNT2k TheCataliasTNT2k changed the base branch from main to development April 4, 2022 11:54
@kronnox kronnox merged commit 7c3cf94 into placeDE:development Apr 4, 2022
@trinitrotoluene trinitrotoluene deleted the feature/api branch April 5, 2022 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants