Skip to content

Ankit161001/FastAPI_and_SocketIO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI_and_SocketIO

A server hosts a FastAPI application and multiple clients can be connected to it via SocketIO.
Executing 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.
The file main.py has the contents for the API.
The file models.py contains the frame of the database which uses pydantic.

About

A server hosts a FastAPI application and multiple clients can be connected to it via SocketIO.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages