• Stars
    star
    154
  • Rank 234,020 (Top 5 %)
  • Language
    Clojure
  • Created about 6 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A ClojureBridge event registration system - see readme for blog posts

bridge

An event registration system for ClojureBridge. Read the blog post.

Dev diary:

Development

Install the Clojure CLI, clone this repo.

Try it out

To build the Cljs and run the web server:

make compile serve

Visit http://localhost:8080, and sign in with [email protected] / secret.

Interactive development with the REPL and Figwheel

I use Emacs, CIDER, and clj-refactor, so I assume that you have cider-refresh available to you.

make figwheel

Once it's running, connect CIDER to port 7890, and issue a cider-refresh (C-c C-x) to start the system.

Run tests

make test

Package for production

make pack

And then run the jar:

java -jar bridge.jar -m bridge.service

Database

By default, we use an in-memory database.

If you want your database to be durable, you'll need to run a Datomic Free transactor, and set an environment variable:

export BRIDGE_DATOMIC_URI="datomic:free://localhost:4334/bridge"

Documentation

License

Copyright ยฉ Robert Stuttaford

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.