{"id":17644688,"url":"https://github.com/keisku/containized-firestore","last_synced_at":"2025-12-15T15:16:15.220Z","repository":{"id":57684142,"uuid":"316505922","full_name":"keisku/containized-firestore","owner":"keisku","description":"Sample golang app with container firestore.","archived":false,"fork":false,"pushed_at":"2020-12-07T04:33:40.000Z","size":40,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T08:51:08.366Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keisku.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}},"created_at":"2020-11-27T13:16:02.000Z","updated_at":"2023-02-14T17:17:09.000Z","dependencies_parsed_at":"2022-09-26T21:01:46.280Z","dependency_job_id":null,"html_url":"https://github.com/keisku/containized-firestore","commit_stats":null,"previous_names":["kskumgk63/containized-firestore"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keisku%2Fcontainized-firestore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keisku%2Fcontainized-firestore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keisku%2Fcontainized-firestore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keisku%2Fcontainized-firestore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keisku","download_url":"https://codeload.github.com/keisku/containized-firestore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246285667,"owners_count":20752953,"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-23T10:39:34.596Z","updated_at":"2025-12-15T15:16:15.171Z","avatar_url":"https://github.com/keisku.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# containized-firestore\n\nSample golang app with container firestore.\n\n## How to start\n\n```\n$ make build\n$ make up\n$ make logs\n```\n\n## How to end\n\n```\n$ make down\n```\n\n\n## How to dump\n\n```\n$ make dump\n\n-----------------------------------\n    accounts\n-----------------------------------\n[0] 3c346b57-21bf-4514-b5df-857ef23ca030: map[account_id:test001 mail:test001@mail.com]\n[1] 42e677c7-9d46-4ef4-a9a4-040c38c27d36: map[account_id:test002 mail:test002@mail.com]\n[2] fdc3edf5-bb49-4de1-abc6-1b36dd34a3e5: map[account_id:test003 mail:test003@mail.com]\n```\n\n## API Endpoints\n\n### `GET /account`\n\nRequest\n\n```\ncurl --location --request GET 'http://localhost:5000/account/'\n```\n\nResponse\n\n```\n[{\"user_id\":\"3c346b57-21bf-4514-b5df-857ef23ca030\",\"account_id\":\"test001\",\"mail\":\"test001@mail.com\"},{\"user_id\":\"42e677c7-9d46-4ef4-a9a4-040c38c27d36\",\"account_id\":\"test002\",\"mail\":\"test002@mail.com\"},{\"user_id\":\"830eed95-25b4-4342-9c3b-fbf8a054f607\",\"account_id\":\"kskumgk63\",\"mail\":\"keisuke.umegaki.630@gmail.com\"},{\"user_id\":\"fdc3edf5-bb49-4de1-abc6-1b36dd34a3e5\",\"account_id\":\"test003\",\"mail\":\"test003@mail.com\"}]\n```\n\n\n### `GET /account/{id}`\n\nRequest\n\n```\ncurl --location --request GET 'http://localhost:5000/account/830eed95-25b4-4342-9c3b-fbf8a054f607'\n```\n\nResponse\n\n```\n{\"user_id\":\"830eed95-25b4-4342-9c3b-fbf8a054f607\",\"account_id\":\"kskumgk63\",\"mail\":\"keisuke.umegaki.630@gmail.com\"}\n```\n\n\n### `POST /account`\n\nRequest\n\n```\ncurl --location --request POST 'http://localhost:5000/account' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"account_id\": \"kskumgk63\",\n    \"mail\": \"keisuke.umegaki.630@gmail.com\"\n}'\n```\n\nResponse\n\n```\n{\"user_id\":\"830eed95-25b4-4342-9c3b-fbf8a054f607\",\"account_id\":\"kskumgk63\",\"mail\":\"keisuke.umegaki.630@gmail.com\"}\n```\n\n\n### `POST /account/{id}`\n\nRequest\n\n```\ncurl --location --request POST 'http://localhost:5000/account/830eed95-25b4-4342-9c3b-fbf8a054f607' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"account_id\": \"update\",\n    \"mail\": \"update630@gmail.com\"\n}'\n```\n\nResponse\n\n```\n204 No Content\n```\n\n### `DELETE /account/{id}`\n\nRequest\n\n```\ncurl --location --request DELETE 'http://localhost:5000/account/830eed95-25b4-4342-9c3b-fbf8a054f607'\n```\n\n\nResponse\n\n```\n204 No Content\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeisku%2Fcontainized-firestore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeisku%2Fcontainized-firestore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeisku%2Fcontainized-firestore/lists"}