Actually, it turned out to be much easier than i thought...
all the client end is doing when I press 'commit' in the browser is to do a put request to url of the file to be saved and the the contents of the file in the body. I just needed to capture the request and save the files to the right spot on disk.
for those that may be interested, the files are at
to start, in command prompt:
lein run
then browse to localhost:4000/projects/hello