/osprey

A framework for making web applications quickly

Primary LanguageClojureMIT LicenseMIT

Osprey

Osprey is a sinatra inspired framework for writing web applications in janet quickly

(use osprey)

(GET "/" "osprey")

(server 9001)

Make sure janet and osprey are installed (macOS)

brew install janet
jpm install https://github.com/swlkr/osprey

Add the example code above to a .janet file:

echo '(use osprey) (GET "/" "osprey") (server 9001)' > myapp.janet
janet myapp.janet

Make sure it's working with curl

curl localhost:9001
# => osprey

That's it for now, happy hacking!