{"id":15777147,"url":"https://github.com/healeycodes/tinyinfra","last_synced_at":"2025-10-10T11:35:11.908Z","repository":{"id":112378230,"uuid":"577760635","full_name":"healeycodes/tinyinfra","owner":"healeycodes","description":"🏗 A simple key/value store (get/set) and queue (send/receive/delete).","archived":false,"fork":false,"pushed_at":"2022-12-21T15:10:08.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-05T17:42:45.284Z","etag":null,"topics":["gorm","keyvaluestore"],"latest_commit_sha":null,"homepage":"","language":"Go","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/healeycodes.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":"2022-12-13T13:15:39.000Z","updated_at":"2022-12-21T18:51:58.000Z","dependencies_parsed_at":"2023-05-14T04:00:23.406Z","dependency_job_id":null,"html_url":"https://github.com/healeycodes/tinyinfra","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/healeycodes/tinyinfra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Ftinyinfra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Ftinyinfra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Ftinyinfra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Ftinyinfra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/healeycodes","download_url":"https://codeload.github.com/healeycodes/tinyinfra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Ftinyinfra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003711,"owners_count":26083610,"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-10-10T02:00:06.843Z","response_time":62,"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":["gorm","keyvaluestore"],"created_at":"2024-10-04T17:42:58.498Z","updated_at":"2025-10-10T11:35:11.867Z","avatar_url":"https://github.com/healeycodes.png","language":"Go","readme":"[![Go](https://github.com/healeycodes/tinyinfra/actions/workflows/go.yml/badge.svg)](https://github.com/healeycodes/tinyinfra/actions/workflows/go.yml)\n\n# 🏗 tinyinfra\n\nA little learning project. A key/value store (get/set) and queue (send/receive/delete).\n\nBuilt with Go's standard library and [GORM](https://gorm.io/).\n\n- GET **/user/new**\n  - (returns `token` to be used via Bearer authentication for all other endpoints)\n  \n- POST **/kv/set** `{\"key\": \"some_key\", \"value\": \"some_value\", \"ttl\": 1671543399714}`\n  - (`ttl` is optional)\n- GET **/kv/get** `{\"key\": \"some_key\"}`\n  - (returns `key`, `value`, `ttl`)\n  \n- POST **/queue/send** `{\"namespace\": \"some_namespace\", \"message\": \"some_message\"}`\n- GET **/queue/receive** `{\"namespace\": \"some_namespace\", \"visibilityTimeout\": 20000}`\n  - (returns `namespace`, `message`, `id`)\n- POST **/queue/delete** `{\"namespace\": \"some_namespace\", \"id\": 1}`\n\n## Tests\n\nIntegration tests (a few tests per endpoints) run with `go test ./...`\n\nEnd-to-end tests (fairly simple) run with `python e2e.py`\n\n## Dev\n\n`go run .`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Ftinyinfra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhealeycodes%2Ftinyinfra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Ftinyinfra/lists"}