module
Version:
v0.1.0-alpha
Opens a new window with list of versions in this module.
Published: May 18, 2021
License: MIT
Opens a new window with license information.
README
ΒΆ
Project Glynn
CLI chats with a server & client for communication in different chat rooms with any number of users.
For simplicity as "chat room" will be used just "room".
π - delayed for an unknown amount of time
Server
- Configs:
- π Read configs
- Parse CLI args
- Types:
- User, Message, Room
- Data repository
- Service
- Docker:
- App build container
- App run container
- Cassandra container
- Cassandra:
- Connect to Cassandra
- Init Cassandra's keyspace & tables
- Basic info:
- Start server (display initial server info)
- Logging
- Swagger UI
- Service:
- Get messages
- Send message
- Create room
- Delete room
- Validate room
- Validate user
- Validate message
- Get info
- Server (HTTP):
- Handle if user is new
- Handle get messages
- Handle new messages
- Handle room creation
- Handle room deletion
- Handle admin authentication middleware
- Handle server info
- π Handle user connection to room
- π Handle user disconnection from room
- π Handle user connection status
- Server (gRPC):
- Encryption
Client
- Configs:
- π Read configs
- Parse CLI args
- Types:
- Service (HTTP):
- User creation
- Read messages
- Format massages
- Create room
- Delete room
- Server info
- π Connection status (for the server)
- π Create connection to room
- Service (gRPC):
- Encryption
Click to show internal directories.
Click to hide internal directories.