{"id":18457642,"url":"https://github.com/amwebexpert/dynamodb","last_synced_at":"2025-08-23T09:10:05.987Z","repository":{"id":88549398,"uuid":"326806367","full_name":"amwebexpert/dynamodb","owner":"amwebexpert","description":"DynamoDB local POC","archived":false,"fork":false,"pushed_at":"2021-01-08T00:32:42.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T10:55:18.844Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/amwebexpert.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,"zenodo":null}},"created_at":"2021-01-04T21:00:17.000Z","updated_at":"2021-01-08T00:32:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"a36381e1-25e0-4ec3-a278-630b2a6c4e3b","html_url":"https://github.com/amwebexpert/dynamodb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amwebexpert/dynamodb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amwebexpert%2Fdynamodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amwebexpert%2Fdynamodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amwebexpert%2Fdynamodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amwebexpert%2Fdynamodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amwebexpert","download_url":"https://codeload.github.com/amwebexpert/dynamodb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amwebexpert%2Fdynamodb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271746301,"owners_count":24813557,"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-23T02:00:09.327Z","response_time":69,"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":[],"created_at":"2024-11-06T08:15:12.877Z","updated_at":"2025-08-23T09:10:05.979Z","avatar_url":"https://github.com/amwebexpert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DynamoDB POC\n\n## Setup\n\n### Step 1\n    npm install\n\n### Step 2 Starting local instance of DynamoDB\n    npm run dynamodb:start\n\nthen test it from command line like this:\n    aws dynamodb list-tables --endpoint-url http://localhost:8000\n\nor open the shell UI:\n    http://localhost:8000/shell/\nExamples Web shell commands:\n- type 'list' + control-space this can show/insert code snipets like:\n\n### Step 3 Starting dynamodb-admin GUI\n\nTwo good Admin consoles have been tested in this POC:\n- https://github.com/YoyaTeam/dynamodb-manager\n- https://github.com/aaronshaf/dynamodb-admin\n\n    ./startDynamoDBManager.sh\nthen open browser at http://localhost:8002/\n\n### Play with scripts\n\n    node src/deleteTable.js\n    node src/createTable.js\n    node src/loadData.js\n    node src/queries-account.js\n    node src/queries-team.js\n    node src/queries-user.js\n\n\n## DynamoDB SDK usage of DocumentClient\n\n    https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/dynamodb-example-document-client.html\n    https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Query.html#Query.KeyConditionExpressions\n    https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.OperatorsAndFunctions.html\n\n## Design considerations\n    - UUID vs other id\n    - https://stackoverflow.com/a/44297379/704681 (for case insensitive queries, like nameSearch at insert time or Elastic Search)\n    - Cost considerations:\n        - fetching users/accounts by using filtering like `contains` which causes table scanning\n        - indexes with `ALL` instead of KEYS_ONLY, INCLUDE\n    - Version for \"optimism looking\" @DynamoDBVersionAttribute annotation\n    - Cashing using Spring cache annotations\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famwebexpert%2Fdynamodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famwebexpert%2Fdynamodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famwebexpert%2Fdynamodb/lists"}