https://github.com/fgeller/cauda
A social queue
https://github.com/fgeller/cauda
Last synced: 10 months ago
JSON representation
A social queue
- Host: GitHub
- URL: https://github.com/fgeller/cauda
- Owner: fgeller
- Created: 2014-05-23T07:51:26.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-10-23T23:46:12.000Z (over 11 years ago)
- Last Synced: 2025-06-12T10:11:52.513Z (about 1 year ago)
- Language: Clojure
- Homepage:
- Size: 613 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cauda
REST application to manage a social queue, mostly an experiment to play with Clojure though.
## Usage
POST /users {"nick": "Hans"} =>
GET /users => {"1": {"nick": "Hans"}}
POST /users/1/queue {"data": "acme"} =>
GET /users/1/queue => ["acme"]
POST /users/1/veto {"data": "acme"} =>
GET /vetos => ["acme"]
## Deploy
Make sure you have [leiningen](http://leiningen.org/) installed and then issue:
lein uberjar
Make sure you have the schema configuration in `schema.edn` and then start via
java -jar $PWD/target/cauda-0.1.0-SNAPSHOT-standalone.jar
or an alternative.
If you want to use a persistent and free version of Datomic, start the transactor:
bin/transactor config/samples/free-transactor-template.properties
And configure the database using the printed URI when starting caude. For example:
CAUDA_DB_URI=datomic:free://localhost:4334/cauda java -jar cauda-0.1.0-SNAPSHOT-standalone.jar