Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bamboo/yanc
Yet another node clojurescript experiment
https://github.com/bamboo/yanc
Last synced: 10 days ago
JSON representation
Yet another node clojurescript experiment
- Host: GitHub
- URL: https://github.com/bamboo/yanc
- Owner: bamboo
- License: epl-1.0
- Created: 2014-02-12T07:01:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-02-15T22:22:52.000Z (over 10 years ago)
- Last Synced: 2023-03-11T02:35:01.253Z (over 1 year ago)
- Language: Clojure
- Size: 172 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# YANC
Yet another node/ClojureScript/WebSocket experiment.
## Usage
```
lein start
```which is the same as:
```
lein npm install
lein resource
lein cljsbuild once
cd target/app
node server.js
```Open two different browsers at [http://localhost:8080/](http://localhost:8080/) and have a blast talking to yourself.
There's also a client built with [Reagent](http://holmsand.github.io/reagent/) - a minimalistic interface between ClojureScript and [React](http://facebook.github.io/react/) - at [http://localhost:8080/react.html](http://localhost:8080/react.html).
## Hacking
To get a node cider REPL going, use cider-jack-in and at the repl:
```
user> (require '[cljs.repl.node :as node])
nil
user> (node/run-node-nrepl)
Type `:cljs/quit` to stop the ClojureScript REPL
nil
```## License
Copyright © 2014 Rodrigo B. de Oliveira
Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.