{"id":16193061,"url":"https://github.com/slashdotdash/kv","last_synced_at":"2025-04-07T15:13:32.904Z","repository":{"id":66695230,"uuid":"138646056","full_name":"slashdotdash/kv","owner":"slashdotdash","description":"Key/value store using Elixir and Commanded CQRS/ES","archived":false,"fork":false,"pushed_at":"2018-06-25T20:30:19.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T17:48:59.446Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/slashdotdash.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":"2018-06-25T20:24:12.000Z","updated_at":"2023-04-04T10:37:24.000Z","dependencies_parsed_at":"2023-06-04T01:30:27.338Z","dependency_job_id":null,"html_url":"https://github.com/slashdotdash/kv","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/slashdotdash%2Fkv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdotdash%2Fkv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdotdash%2Fkv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slashdotdash%2Fkv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slashdotdash","download_url":"https://codeload.github.com/slashdotdash/kv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247675609,"owners_count":20977378,"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-10T08:13:54.586Z","updated_at":"2025-04-07T15:13:32.877Z","avatar_url":"https://github.com/slashdotdash.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kv\n\nKey/value store in Elixir using Commanded CQRS/ES.\n\n## Getting started\n\n1. Clone Git repo from GitHub:\n\n    ```console\n    git clone https://github.com/slashdotdash/kv.git\n    ```\n\n2. Fetch mix dependencies:\n\n    ```console\n    mix deps.get\n    ```\n\n3. Create and initialise event store database:\n\n    ```console\n    mix do event_store.create, event_store.init\n    ```\n\n4. Create and migrate read store database:\n\n    ```console\n    mix do ecto.create, ecto.migrate\n    ```\n\nFinally, run the application using `iex`:\n\n```console\niex -S mix run\n```\n\n## Usage\n\nOnce you've started an `iex` console you can start interacting with the `kv` application by dispatching commands.\n\n```elixir\n:ok = Kv.Router.dispatch(%Kv.PutValue{key: \"foo\", value: 1})\n:ok = Kv.Router.dispatch(%Kv.IncrementValue{key: \"foo\", increment: 1})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslashdotdash%2Fkv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslashdotdash%2Fkv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslashdotdash%2Fkv/lists"}