{"id":23362853,"url":"https://github.com/remotesynth/sample-web-app-aws","last_synced_at":"2025-06-19T20:34:55.496Z","repository":{"id":251424232,"uuid":"837357067","full_name":"remotesynth/sample-web-app-aws","owner":"remotesynth","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-29T19:54:58.000Z","size":87527,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T21:46:25.993Z","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/remotesynth.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":"2024-08-02T19:27:16.000Z","updated_at":"2024-08-29T19:55:02.000Z","dependencies_parsed_at":"2024-08-07T21:01:21.993Z","dependency_job_id":"a2b0e293-3e4f-4646-9e3e-a5f004094fba","html_url":"https://github.com/remotesynth/sample-web-app-aws","commit_stats":null,"previous_names":["remotesynth/sample-web-app-aws"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/remotesynth/sample-web-app-aws","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remotesynth%2Fsample-web-app-aws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remotesynth%2Fsample-web-app-aws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remotesynth%2Fsample-web-app-aws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remotesynth%2Fsample-web-app-aws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remotesynth","download_url":"https://codeload.github.com/remotesynth/sample-web-app-aws/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remotesynth%2Fsample-web-app-aws/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260826689,"owners_count":23068819,"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-12-21T12:33:12.091Z","updated_at":"2025-06-19T20:34:50.488Z","avatar_url":"https://github.com/remotesynth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Deploying Locally to LocalStack\n\n_Please note that a LocalStack Pro account is required to run these examples due to features used in the CDK deployment to push local assets to S3 and Lambda. Be sure that you have enabled your [auth token](https://docs.localstack.cloud/getting-started/auth-token/) to access the Pro features._\n\nOnce you have [LocalStack installed](https://docs.localstack.cloud/getting-started/installation/) and have Docker running, you can use the LocalStack CLI to build and deploy each of the examples. You will need the [AWS CDK CLI for LocalStack](https://docs.localstack.cloud/user-guide/integrations/aws-cdk/#aws-cdk-cli-for-localstack) installed as well.\n\nOnce the prerequisites are installed, you can follow the same basics steps to deploy each example.\n\nStart LocalStack from the terminal:\n\n```bash\nlocalstack start\n```\n\nNext, install the depenencies and bootstrap the deployment.\n\n```bash\nnpm install\ncdklocal bootstrap\n```\n\nOnce the bootstrapping has completed, you can then run the deploy:\n\n```bash\ncdklocal deploy\n```\n\nAfter the deploy is completed, you will see some outputs in the terminal displaying the CloudFront distribution URL and the API Gateway URL. You can use the CloudFront distribution URL to load the web site which should automatically return the response from the Lambda function via the API Gateway endpoint returning data loaded from DynamoDB. However, alternatively you can view the response from the Lambda by opening the API Gateway URL directly in your browser for the endpoint `hello` (i.e. you'll need to append this to the end of the URL).\n\n* If you get an error during the bootstrap, this can commonly be caused by either LocalStack or Docker not running. Be sure that you are successfully started LocalStack and Docker before bootstrapping.\n* If your deployment fails to load the assets required to run the site (i.e. into S3 and Lambda), be sure that you have successfully added your auth token. When you start up LocalStack in the terminal, you should see a message reading something like `Successfully activated cached license`.\n\n### Deploying Remotely to AWS\n\nYou will need to have the [AWS CLI](https://github.com/aws/aws-cli/tree/v2?tab=readme-ov-file#installation) installed and configured for your account (you will likely need to set up an IAM user and obtain an access key). Finally, you will need to install the [AWS CDK CLI](https://docs.aws.amazon.com/cdk/v2/guide/getting_started.html#getting_started_install).\n\nOnce these prerequisites are installed, you can bootstrap the deployment:\n\n```bash\ncdk bootstrap\n```\n\nOnce the bootstrapping has completed, you can then run the deploy:\n\n```bash\ncdk deploy\n```\n\nAfter the deploy is completed, you will see some outputs in the terminal displaying the CloudFront distribution URL and the API Gateway URL. You can use the CloudFront distribution URL to load the web site which should automatically return the response from the Lambda function via the API Gateway endpoint returning data loaded from DynamoDB. However, alternatively you can view the response from the Lambda by opening the API Gateway URL directly in your browser for the endpoint `hello` (i.e. you'll need to append this to the end of the URL).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremotesynth%2Fsample-web-app-aws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremotesynth%2Fsample-web-app-aws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremotesynth%2Fsample-web-app-aws/lists"}