Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rricard/ring-script
Ring adapter for Node.js HttpServer written in ClojureScript using core.async
https://github.com/rricard/ring-script
Last synced: about 14 hours ago
JSON representation
Ring adapter for Node.js HttpServer written in ClojureScript using core.async
- Host: GitHub
- URL: https://github.com/rricard/ring-script
- Owner: rricard
- Created: 2015-01-03T10:49:41.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-04T14:22:01.000Z (almost 10 years ago)
- Last Synced: 2023-08-03T20:10:04.488Z (over 1 year ago)
- Language: Clojure
- Size: 145 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ring-script
A ring-like API for ClojureScript, Node.js & core.async.
## Overview
ring-script works in a very similar way than Clojure's ring making it easier to port existing ring middleware and application.
Usual ring libraries such as ring-core are likely to not work with ring-script as they often use Java interop. An ongoing effort is made in order to port tightly coupled JVM middlewares to Node.js. One other thing not supported by ring-script are InputStreams replaced by core.async channels.
One particular goal of ring-script is to run compojure with minimal porting.
## Setup
lein cljsbuild auto
To start a Node REPL (requires rlwrap):
./scripts/repl
Clean project specific out:
lein clean
Run:
node run-dev.js
## License
Copyright © 2014 Robin Ricard
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.