Skip to content

ben0919/bbs_system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Board Bulletin System

Introduction

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.

Usage

  1. Run the server.
python3 server.py <port number>
  1. Then run the client.
python3 client.py <server IP address> <port number>

Functions

1. Register

register <username> <email> <password>

2. Login

login <username> <password>

3. Logout

logout

4. List User

list-user

5. Who Am I

whoami

6. Create Board

create-board <name>

7. List Board

list-board

8. Create Post

create-post <board-name> --title <title> --content <content>

9. List Post

list-post <board-name>

10. Read

read <post-S/N>

11. Delete Post

delete-post <post-S/N>

12. Update Post

update-post <post-S/N> --title/content <new>

13. Comment

comment <post-S/N> <comment>

14. Create Chatroom

read <post-S/N>

15. List Chatroom

read <post-S/N>

16. Join Chatroom

read <post-S/N>

17. Restart Chatroom

read <post-S/N>

18. Close Chatroom

chatroom-closed

19. Exit

exit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages