A server hosts a FastAPI application and multiple clients can be connected to it via SocketIO.
server.py sets up the server up and running along with the initialization of the FastAPI application.
When we execute the
client1.py, it creates individual clients who can send and recieve data between clients and the server.
NOTE: each execution of
client1.py will start up a new client.
All of the clients run coherently in the same session of the API.
main.py has the contents for the API.
models.py contains the frame of the database which uses