simple_mini_github
simple_mini_github copied to clipboard
A simple app to test out irmin and dream
simple_mini_github
A simple app to test out irmin-graphql, dream and js_of_ocaml
How to setup the project
- clone the repository
- Run
make installto install all project dependencies - Run
make startto start the application - Open
localhost:8080in the browser to view the project frontend - Open
http://localhost:8080/graphiqlin the browser to view graphiql
To test
- Paste in a github repository in the input box on the frontend
- Run this sample query on graphiql to see result
{
branches {
name
head {
info {
date
author
message
}
}
}
master {
name
tree {
get_contents(key: "README.md") {
key
metadata
value
hash
}
}
}
}