AMarinic92 / 4560-IA-Accessibility-Checker

GNU Affero General Public License v3.0
0 stars 0 forks source link

Establishing communication between cluster with Backend server for image analysis #28

Closed TehillahK closed 8 months ago

TehillahK commented 9 months ago

To run the server, run python3 server.py , it runs on port 8080 on localhost . Thunder client can be used to send messages to it. We used Flask and Flask Restful to create API.

TehillahK commented 8 months ago

Decided to use ssh port forwarding and web sockets instead particularly socket io and connect asynchronously. We decided to use Web sockets because web sockets are more persistent than regular sockets and just in case flask wouldn't be compatible on the cluster.