{"id":21498383,"url":"https://github.com/mightypixel/subs-store-svc","last_synced_at":"2025-03-17T12:42:22.828Z","repository":{"id":152513702,"uuid":"201621062","full_name":"MightyPixel/subs-store-svc","owner":"MightyPixel","description":"A micronaut test project ","archived":false,"fork":false,"pushed_at":"2020-10-13T15:14:34.000Z","size":31,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-23T22:24:28.268Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/MightyPixel.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":"2019-08-10T11:31:06.000Z","updated_at":"2019-09-02T13:50:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"c9bd44e5-4061-4848-8ab8-0091788000a5","html_url":"https://github.com/MightyPixel/subs-store-svc","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/MightyPixel%2Fsubs-store-svc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MightyPixel%2Fsubs-store-svc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MightyPixel%2Fsubs-store-svc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MightyPixel%2Fsubs-store-svc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MightyPixel","download_url":"https://codeload.github.com/MightyPixel/subs-store-svc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244036594,"owners_count":20387548,"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-11-23T16:37:57.554Z","updated_at":"2025-03-17T12:42:22.822Z","avatar_url":"https://github.com/MightyPixel.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Subscription Store Service\n\n\n## Setup\n\n- Example Data\n\n```\nINSERT INTO \"subs_store\".\"subscriptions\" (\"subscription_id\", \"subscription_provider\", \"subscription_status\", \"effective_start_date\", \"effective_end_date\", \"user_id\") VALUES ('A-1235', 'Google', 'canceled', '2019-01-01 00:00:00 +0000', '2020-01-31 00:00:00 +0000', 9b93c7db-ea92-41ac-b6bd-cb7fd565e946);\nINSERT INTO \"subs_store\".\"subscriptions\" (\"subscription_id\", \"subscription_provider\", \"subscription_status\", \"effective_start_date\", \"effective_end_date\", \"user_id\") VALUES ('A-123', 'FT', 'active', '2019-01-01 00:00:00 +0000', '2020-01-01 00:00:00 +0000', 9b93c7db-ea92-41ac-b6bd-cb7fd565e946);\nINSERT INTO \"subs_store\".\"subscriptions\" (\"subscription_id\", \"subscription_provider\", \"subscription_status\", \"effective_start_date\", \"effective_end_date\", \"user_id\") VALUES ('A-1234', 'Google', 'active', '2019-02-01 00:00:00 +0000', '2020-02-01 00:00:00 +0000', 9b93c7db-ea92-41ac-b6bd-cb7fd565e946);\nINSERT INTO \"subs_store\".\"subscriptions\" (\"subscription_id\", \"subscription_provider\", \"subscription_status\", \"effective_start_date\", \"effective_end_date\", \"user_id\") VALUES ('B-4123', 'FT', 'active', '2019-01-01 00:00:00 +0000', '2020-01-01 00:00:00 +0000', b0d77626-9d83-44f3-93c9-0ac0abc9c3fa);\n```\n\n- Example Queries\n  - `SELECT * FROM \"subs_store\".\"subscriptions\" WHERE \"subscription_id\" = 'A-1234'`\n  - `SELECT * FROM subscriptions_by_user where user_id = 9b93c7db-ea92-41ac-b6bd-cb7fd565e946 AND subscription_provider = 'Google';`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmightypixel%2Fsubs-store-svc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmightypixel%2Fsubs-store-svc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmightypixel%2Fsubs-store-svc/lists"}