{"id":15540095,"url":"https://github.com/hden/duct.module.datomic","last_synced_at":"2025-04-23T16:24:09.297Z","repository":{"id":39853162,"uuid":"224664604","full_name":"hden/duct.module.datomic","owner":"hden","description":"A Duct module that adds Integrant keys for a Datomic database connection and Ragtime migrations to a configuration.","archived":false,"fork":false,"pushed_at":"2025-02-04T00:37:24.000Z","size":94,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-23T16:24:00.206Z","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":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hden.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-11-28T13:56:42.000Z","updated_at":"2025-02-04T00:37:27.000Z","dependencies_parsed_at":"2023-01-21T04:15:20.826Z","dependency_job_id":"2886962a-a473-4659-9e5f-be36b79382c7","html_url":"https://github.com/hden/duct.module.datomic","commit_stats":{"total_commits":51,"total_committers":3,"mean_commits":17.0,"dds":0.4509803921568627,"last_synced_commit":"f96d593694f29acbd4cb5bcc2ae39803cfb0e303"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hden%2Fduct.module.datomic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hden%2Fduct.module.datomic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hden%2Fduct.module.datomic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hden%2Fduct.module.datomic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hden","download_url":"https://codeload.github.com/hden/duct.module.datomic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250468582,"owners_count":21435511,"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-10-02T12:12:37.339Z","updated_at":"2025-04-23T16:24:09.275Z","avatar_url":"https://github.com/hden.png","language":"Clojure","readme":"# duct.module.datomic [![CircleCI](https://circleci.com/gh/hden/duct.module.datomic/tree/master.svg?style=svg)](https://circleci.com/gh/hden/duct.module.datomic/tree/master)\n\nA Duct module that adds Integrant keys for a Datomic database connection and Ragtime migrations to a configuration.\n\n## Installation\n\nTo install, add the following to your project `:dependencies`:\n\n`[hden/duct.module.datomic \"0.5.7\"]`\n\n## Usage\n\nTo add this module to your configuration, add the :duct.module/sql key to your config.edn file:\n\n```clojure\n:duct.module/datomic {:server-type :ion\n                      :region      \"us-east-1\"\n                      :system      \"mbrainz-stu\"\n                      :endpoint    \"http://entry.mbrainz-stu.us-east-1.datomic.net:8182\"\n                      :proxy-port  8182\n                      :database    \"datomic-docs-tutorial\"}\n\n;; Read configurations from the AWS SSM\n;; Assumes that parameters are stored under `/datomic-shared/(env)/(app-name)/`\n;; See https://docs.datomic.com/cloud/ions/ions-reference.html#parameters-example\n[:duct.reader.ion/get-param :my-app.params/my-param]\n{:key      \"my-param\"\n :default  \"foobar\"\n :logger   #ig/ref :duct/logger}\n```\n\n### dev-local\n\nYou can develop and test applications with minimal connectivity and setup by using the dev-local tool. Override the connection by setting the `:duct.database/datomic` key in the `dev.edn`.\n\nSee https://docs.datomic.com/cloud/dev-local.html\n\n```clojure\n:duct.database/datomic\n{:server-type :dev-local\n :storage-dir :mem\n :system      \"mbrainz-stu\"\n :database    \"datomic-docs-tutorial\"}\n```\n\n### Integrant Keys\n\nWhen prepped, the module will compile the following Integrant keys into your config:\n\n```clojure\n:duct.database/datomic {}\n:duct.migrator.ragtime/datomic {:database #ig/ref :duct.database/datomic\n                                :logger #ig/ref :duct/logger\n                                :migrations []}\n```\n\nThese defaults can be (selectively) overridden through custom `:duct.database/datomic` and `:duct.migrator.ragtime/datomic` keys in your duct profiles.\n\n## License\n\nCopyright © 2019 Haokang Den\n\nThis program and the accompanying materials are made available under the\nterms of the Eclipse Public License 2.0 which is available at\nhttp://www.eclipse.org/legal/epl-2.0.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhden%2Fduct.module.datomic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhden%2Fduct.module.datomic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhden%2Fduct.module.datomic/lists"}