This is a client-server
application tracking covid-19 information of all provinces in Vietnam using Socket programming
with TCP
.
The server fetches data from this API and automatically updates it every 60 minutes or when needed.
I attached my report so you guys can read the report for more details. I received 8.6 for this app. I think there were some weak points in my project. I didn't use any database for this app, the messages struct was not good too, and spent too much time on the UI which was not important in this project. Learn from my mistakes.
-
The client need to know the server's network address in the form of IP and Port number if needed (the default port is
8888
). eg:192.168.1.5
or192.168.1.5:8080
. -
- To start the server, run
serverMain.py
in folderserver
. An available account to test: usernameadmin
and the passwordadmin
. - To start the client, run
clientMain.py
in folderclient
. Connect to the server address then login or signup for an account. An availible account to test has both is1
.
- To start the server, run
The main processing is on serverSocket.py
and dataBase.py
.
I used PyQT5
to develop UI and made it a classic macOS UI.