This is a multi-threaded BBS server implemented by Python socket API, which provides fundamental BBS functions such like create board, create post, comment etc., and an additional chatroom function. Accounts information and bulletin board information are stored in an SQL database.
- Run the server.
python3 server.py <port number>
- Then run the client.
python3 client.py <server IP address> <port number>
register <username> <email> <password>
login <username> <password>
logout
list-user
whoami
create-board <name>
list-board
create-post <board-name> --title <title> --content <content>
list-post <board-name>
read <post-S/N>
delete-post <post-S/N>
update-post <post-S/N> --title/content <new>
comment <post-S/N> <comment>
read <post-S/N>
read <post-S/N>
read <post-S/N>
read <post-S/N>
chatroom-closed
exit