This is a simple server with two endpoints:
/upload- accepts a file upload via FormData and stores it in theuploadsdirectory, returning the file hash/file/<hash>- returns the file with the given hash
You will need rust and cargo.
To run the server, run cargo run in the root directory. You can also change the default port of 8080 via the env variable PORT.