{"id":22876696,"url":"https://github.com/vbyazilim/kvstore","last_synced_at":"2025-08-15T19:20:27.254Z","repository":{"id":194025092,"uuid":"680861071","full_name":"vbyazilim/kvstore","owner":"vbyazilim","description":"Training material, in-memory key/value store example","archived":false,"fork":false,"pushed_at":"2023-10-23T11:02:26.000Z","size":34,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-03T23:37:09.379Z","etag":null,"topics":["golang","key-value-store","training-materials"],"latest_commit_sha":null,"homepage":"https://github.com/vbyazilim/maoyyk2023-golang-101-kursu","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vbyazilim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-20T16:38:55.000Z","updated_at":"2024-08-11T07:42:38.000Z","dependencies_parsed_at":"2024-06-21T07:06:12.430Z","dependency_job_id":"3077a144-d4f9-4269-bb81-facd4826e655","html_url":"https://github.com/vbyazilim/kvstore","commit_stats":null,"previous_names":["vbyazilim/kvstore"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/vbyazilim/kvstore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbyazilim%2Fkvstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbyazilim%2Fkvstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbyazilim%2Fkvstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbyazilim%2Fkvstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vbyazilim","download_url":"https://codeload.github.com/vbyazilim/kvstore/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vbyazilim%2Fkvstore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270617870,"owners_count":24617123,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["golang","key-value-store","training-materials"],"created_at":"2024-12-13T15:27:16.805Z","updated_at":"2025-08-15T19:20:27.223Z","avatar_url":"https://github.com/vbyazilim.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Version](https://img.shields.io/badge/version-0.1.4-orange.svg)\n[![Golang Tests](https://github.com/vbyazilim/kvstore/actions/workflows/go-test.yml/badge.svg)](https://github.com/vbyazilim/kvstore/actions/workflows/go-test.yml)\n[![Golang CI Lint](https://github.com/vbyazilim/kvstore/actions/workflows/go-lint.yml/badge.svg)](https://github.com/vbyazilim/kvstore/actions/workflows/go-lint.yml)\n[![codecov](https://codecov.io/gh/vbyazilim/kvstore/graph/badge.svg?token=514LHYMOA4)](https://codecov.io/gh/vbyazilim/kvstore)\n![Powered by Rake](https://img.shields.io/badge/powered_by-rake-blue?logo=ruby)\n\n# KVStore\n\nSimple in-memory key/value store for training purpose. Project demonstrates\nbasic DDD approach (storage/service/http layer logic)\n\n---\n\n## Usage\n\nTo run server locally;\n\n```bash\nrake\n```\n\nor `cd` to project root;\n\n```bash\ngo run cmd/server/main.go\n```\n\nEndpoints:\n\n```http\nGET    /healthz/live/\nGET    /healthz/ready/\n\nPOST   /api/v1/set/\nGET    /api/v1/get/?key={key}\nPUT    /api/v1/update/\nDELETE /api/v1/delete/?key={key}\nGET    /api/v1/list/\n```\n\nAlso, you can use [postman](postman/KVStore.postman_collection.json) collection.\n\n---\n\n## Development\n\n### Requirements\n\n- `go1.21.0`\n- `bumpversion`\n- `pre-commit`\n\nYou can create `.env` file inside of the project root for environment variables\n\nEnvironment variables information:\n\n| Variable Name | Description | Default Value |\n|:--------------|:------------|:------------|\n| `SERVER_ENV` | Server environment information for run-time | `local` |\n| `LOG_LEVEL` | Logging level | `INFO` |\n\n### Install `pre-commit`\n\nhttps://pre-commit.com/\n\n```bash\n$ cd /path/to/kvstore\n$ pre-commit install       # do only once!\n```\n\nAvailable tasks:\n\n```bash\n$ rake -T\n\nrake default                        # default task\nrake docker:build                   # Build image (locally)\nrake docker:run                     # Run image (locally)\nrake lint                           # run golangci lint\nrake release[revision]              # release new version major,minor,patch, default: patch\nrake run:server                     # run server\nrake test:run_all                   # run all tests\nrake test:run_all_display_coverage  # run all tests and display coverage\n```\n\nRun all tests via;\n\n```bash\nrake test:run_all\nrake test:run_all_display_coverage  # macos only!\n```\n\n---\n\n## Docker\n\n```bash\n# build\nrake docker:build\n\n# run\nrake docker:run\n```\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbyazilim%2Fkvstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvbyazilim%2Fkvstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvbyazilim%2Fkvstore/lists"}