Server
Closed this issue · 2 comments
What is the server that you are using in this project how do I set it up
The scope of this project is local, and in its current state, it can only be run on a laptop/desktop PC.
The server here is like a web-server. It communicates with the User Interface (UI) to send and receive data and also handles database operations. On Voter login, a voter can not directly interact with the database. It first sends messages to server, and the server interacts with the database.
As the scope of this project is local and aimed to demonstrate socket programming, we have created a server file that handles multiple clients with help of synchronous multithreading. Also, to make things simple, we have given an option for Admin login on the home page itself. For details of login credentials, please see Report. The setup for this project is simple and is given in the report.
No additional setup is required for the server. You can simply run it by running the file server.py. The same can also be run through the admin panel.
I see, thank you very much for responding to my queries and helping me out. I was facing some errors when I ran it so I thought I was missing something but your clear explanations made it very easy for me to understand. Once again Thanks a lot.