{"id":23450050,"url":"https://github.com/cloudle/hive-core","last_synced_at":"2025-04-10T05:55:22.000Z","repository":{"id":80944090,"uuid":"95987295","full_name":"cloudle/hive-core","owner":"cloudle","description":null,"archived":false,"fork":false,"pushed_at":"2017-09-16T07:48:56.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T19:22:44.154Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-01T20:58:20.000Z","updated_at":"2017-07-01T20:58:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"4a9fbca8-b709-44e6-88e7-ab3cf1c7e1b1","html_url":"https://github.com/cloudle/hive-core","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudle%2Fhive-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudle%2Fhive-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudle%2Fhive-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudle%2Fhive-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudle","download_url":"https://codeload.github.com/cloudle/hive-core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166929,"owners_count":21058480,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-23T23:32:42.598Z","updated_at":"2025-04-10T05:55:21.974Z","avatar_url":"https://github.com/cloudle.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Getting Started\n\n1. Start the application: `lein run`\n2. Go to [localhost:8080](http://localhost:8080/) to see: `Hello World!`\n3. Read your app's source code at src/hive/service.clj. Explore the docs of functions\n   that define routes and responses.\n4. Run your app's tests with `lein test`. Read the tests at test/hive/service_test.clj.\n5. Learn more! See the [Links section below](#links).\n\n## Scripts\n- lein datomic start\n- lein datomic initialize\n\n## REPL\n1. open Proto-REPL on Atom\n2. run `(def dev-serv (hive.server/run-dev))`\n3. Command + Shift + Alt + F to re-eval current file.\n4. Server is hot updated! try it.\n\n## Configuration\n\nhttps://stackoverflow.com/questions/26619362/lein-install-datomic-peer-library-on-mac\nTo configure logging see config/logback.xml. By default, the app logs to stdout and logs/.\nTo learn more about configuring Logback, read its [documentation](http://logback.qos.ch/documentation.html).\n\n\n## Developing your service\n\n1. Start a new REPL: `lein repl`\n2. Start your service in dev-mode: `(def dev-serv (run-dev))`\n3. Connect your editor to the running REPL session.\n   Re-evaluated code will be seen immediately in the service.\n\n### [Docker](https://www.docker.com/) container support\n\n1. Build an uberjar of your service: `lein uberjar`\n2. Build a Docker image: `sudo docker build -t hive .`\n3. Run your Docker image: `docker run -p 8080:8080 hive`\n\n### [OSv](http://osv.io/) unikernel support with [Capstan](http://osv.io/capstan/)\n\n1. Build and run your image: `capstan run -f \"8080:8080\"`\n\nOnce the image it built, it's cached. To delete the image and build a new one:\n\n1. `capstan rmi hive; capstan build`\n\n\n## Links\n* [Other examples](https://github.com/pedestal/samples)\n* https://github.com/mrmcc3/firebase-wrappers\n\n## Datalog questions:\n- Find movie title by year\n- Given a list of movie titles, find the title and the year that movie was released. \n[\"Lethal Weapon\" \"Lethal Weapon 2\" \"Lethal Weapon 3\"] \n- Find all movie ?titles where the ?actor and the ?director has worked together\n- Write a query that, given an actor name and a relation with movie-title/rating, finds the movie titles and corresponding rating for which that actor was a cast member.\n- What attributes are associated with a given movie.\n- Find the names of all people associated with a particular movie (i.e. both the actors and the directors)\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudle%2Fhive-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudle%2Fhive-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudle%2Fhive-core/lists"}