An open API service indexing awesome lists of open source software.

https://github.com/zweifisch/onion

http middleware for chicken scheme
https://github.com/zweifisch/onion

Last synced: about 2 months ago
JSON representation

http middleware for chicken scheme

Awesome Lists containing this project

README

        

* Onion

/http middleware for chicken scheme/

#+BEGIN_SRC scheme
(use onion clojurian-syntax)

(defroutes app
(GET "/" "work in progress")
(GET "/hello/:name" (name) (string-append "hello " name)))

(run (-> app body-parser (static "/public" root: "./public")) port:3000)
#+END_SRC