A front-end to Datahike written in Fulcro. It connects to a Datahike-server instance.
In a shell: clj -A:dev:cider-clj -J-Dtrace -J-Dghostwheel.enabled=true
Then in emacs in the project: cider-connect-clj | localhost | <the port it suggests>
In the repl: user> (start)
In the browser: localhost:4000
If restart needed after compilation pblm:
(tools-ns/refresh)
(start)
In the shell: npx shadow-cljs server
In IntelliJ's REPL: (shadow/repl :main)
If you want to use emacs then: cider-jack-in-cljs
Choose options related to 'shadow'
You might need to compile the js code here: http://localhost:9630
The nrepl is server in listening on port 9000
You need to start a Datahike server as well (https://github.com/replikativ/datahike-server) on the 'admin-endpoitns' branch. It is expected to listen on port 3000.
-
It is still very early work.
-
Transacting works only when you are on the :eavt Datoms view. (I.e. on the view appearing after a query and showing each entity on a specific row, transactions do not work yet.)
-
Only query_pull type queries work.
-
Queries seem to have issues when the 'where' expression has multiple clauses.