A simple file server written in Clojure and ClojureScript.
lein bin
# Using executable
target/mini-file-server ~/data-dir 3000
# Using Uberjar (optionally with extra system properties)
java -Djava.io.tmpdir=/tmp -jar target/mini-file-server-0.1.2-standalone.jar ~/data-dir 3000
curl -XPOST -F [email protected] -F group=books/2014 localhost:3000
# {"url":"http://localhost:3000/books/2014/fairy-tale.pdf"}
- Tests
- Authentication and authorization
MIT