How would one implement a comprehensive chat system using sockets within FastAPI. Specifically keeping the following in mind:
- Multiple Chat rooms many-to-many between users
- Storing messages with a SQL or NoSQL database for persistence
- Security: Authentication or possibly encryption
I've looked at some libraries, but actual useful implementations are far between, regrettably.
Any advice or redirects towards places for more information will be of great help!