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

https://github.com/fgeller/cauda

A social queue
https://github.com/fgeller/cauda

Last synced: 10 months ago
JSON representation

A social queue

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