{"id":24017459,"url":"https://github.com/mattyboy84/aws-api-query-rds","last_synced_at":"2026-05-15T12:31:16.639Z","repository":{"id":176796952,"uuid":"610467067","full_name":"mattyboy84/AWS-API-query-RDS","owner":"mattyboy84","description":"AWS Rest API that invokes a lambda that queries a private RDS database","archived":false,"fork":false,"pushed_at":"2023-03-07T07:15:47.000Z","size":171,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-24T06:04:41.041Z","etag":null,"topics":["api","aws","networking","portfolio","rds-database"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/mattyboy84.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":"2023-03-06T20:42:36.000Z","updated_at":"2023-10-11T10:08:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"0b6c5b57-0977-4887-b2b4-211864d82bad","html_url":"https://github.com/mattyboy84/AWS-API-query-RDS","commit_stats":null,"previous_names":["mattyboy84/aws-api-query-rds"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mattyboy84/AWS-API-query-RDS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattyboy84%2FAWS-API-query-RDS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattyboy84%2FAWS-API-query-RDS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattyboy84%2FAWS-API-query-RDS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattyboy84%2FAWS-API-query-RDS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattyboy84","download_url":"https://codeload.github.com/mattyboy84/AWS-API-query-RDS/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattyboy84%2FAWS-API-query-RDS/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267605941,"owners_count":24114618,"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-07-28T02:00:09.689Z","response_time":68,"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":["api","aws","networking","portfolio","rds-database"],"created_at":"2025-01-08T09:18:21.362Z","updated_at":"2026-05-15T12:31:11.604Z","avatar_url":"https://github.com/mattyboy84.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API-query-RDS\n\n![](images/diagram.png)\n\n\n---\n\n# Setup:\n1. Deploy project to aws\n2. Copy the `RDSDBSecretArn` output by the stack\n3. Go to RDS \u0026 select `Query` on the database\n4. enter these credentials with the `Secrets manager ARN` as the `RDSDBSecretArn`\n![](images/connect-to-database.png)\n5. create the `Customers` Table\n```sql\nCREATE TABLE Customers (\n  CustomerId int,\n  FirstName varchar(255)\n)\n```\n6. create a few example customers\n```sql\nINSERT INTO Customers (CustomerId, FirstName) VALUES (100, 'Name');\nINSERT INTO Customers (CustomerId, FirstName) VALUES (101, 'Name1');\nINSERT INTO Customers (CustomerId, FirstName) VALUES (102, 'Name2');\n```\n7. make a `GET` request to the `HttpApiUrl` output by the stack. Making a GET request to `https://ID.execute-api.region.amazonaws.com/CustomerId/100`. You will recieve:\n```json\n[\n    {\n        \"CustomerId\": 100,\n        \"FirstName\": \"Name\"\n    }\n]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattyboy84%2Faws-api-query-rds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattyboy84%2Faws-api-query-rds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattyboy84%2Faws-api-query-rds/lists"}