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
- Host: GitHub
- URL: https://github.com/zweifisch/onion
- Owner: zweifisch
- Created: 2015-09-06T23:18:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-11T22:08:25.000Z (over 9 years ago)
- Last Synced: 2025-01-27T22:55:16.850Z (4 months ago)
- Language: Scheme
- Size: 305 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
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