Closed Binary141 closed 1 year ago
I added some super basic docker stuff so hopefully all one needs to do is make docker && make up
if all that is wanted is to work on the front end while also being able to have the latest back end code
@kcpetersen111 I have changed this to now use a request body for the parameters and not within the URL itself. Let me know what you think
This rewrites some of the web socket stuff to be broken out to just an http endpoint. Now the web socket part of the code just acts like a ping / pong style of endpoint and will write back to the client what you send the server.
The
getMovies
endpoint currently just returns each of the file paths to the client that it detects, while thegetMovieInfo
looks for amovie
query parameter which is the complete file path to the video and returns some of the os.stat info about it (name, size in bytes, and file mode).