Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/farskipper/datomic-example
An example of how I setup and use datomic
https://github.com/farskipper/datomic-example
Last synced: about 9 hours ago
JSON representation
An example of how I setup and use datomic
- Host: GitHub
- URL: https://github.com/farskipper/datomic-example
- Owner: farskipper
- License: mit
- Created: 2015-08-11T02:23:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-18T05:02:01.000Z (about 9 years ago)
- Last Synced: 2024-11-09T14:48:56.818Z (about 2 months ago)
- Language: Clojure
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# datomic-example
An example of how I setup and use datomic.This example is just some database functions (`src/db_fns.clj`) and their tests (`test/db_fns_test.clj`). If you look at `resources/datomic/schema.edn` you'll see that the data model is for a simple messaging app. Users can send messages to each other, and there can be more than one recipient per message.
# how to run it
Be sure leiningen [leiningen](http://leiningen.org/) is installed.Then run the tests
```sh
$ lein auto test
```
It'll automatically re-run when you change code