Skip to content

rodnaph/lewis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lewis

Lewis is meant to be a web interface for interacting with Datomic. I'm writing it to learn Datomic, so beware!

Installation

Clone the repo and then run Lewis with Leiningen.

git clone https://github.com/rodnaph/lewis.git
cd lewis
lein ring server

Your browser will automatically open to http://localhost:5555, and you should see the web interface where you can connect. Just enter the Datomic URI to your database.

Usage

When you have connected to Datomic, you will see some options in the top navigation bar.

Data

The data menu gives you Query option, which will present an editor that you can enter arbitrary Datalog queries in.

And there is also an Insert option, which gives a simple interface for entering data into your Datomic database.

Schema

The schema menu has options for browsing and editing the schema of your database.

And also just executing arbitrary transactions.

There is also a page to edit schema. It has a bunch of controls so you can select the schema attributes you want, and the EDN is created for you below.

Production

To use in production, run lein run in the main directory to launch a jetty server.

TODO

I'm hacking on this project to learn more about Datomic, so not even sure if what I've done so far is useful (or makes sense). Making up features as I go then... but if you do have any ideas please just open an issue or get in touch.

About

Datomic Web UI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published