A full-stack application written in Go and React, where users can upload videos and the server splits it up to individual frames and converts the pictures to greyscale.
- Git clone this repo
-
navigate to server directory and install necessary dependencies using
go get -d ./...
-
build server file by typing
go build server.go
-
start server executable
-
by default, the server runs on localhost:8888
There is also a websocket communication between the server and client, which runs on localhost:5000
-
navigate to client directory
-
run
npm install
-
run
npm start
-
navigate to localhost:3000
Files can be uploaded by either via the client
Or files can also be curl-ed to the webserver
curl -X PUT http://localhost:8888/upload --upload-file example.mp4
Generated files are placed in the output folder of the server directory.