{"id":17817113,"url":"https://github.com/030/news-website","last_synced_at":"2026-02-13T18:32:26.160Z","repository":{"id":40660720,"uuid":"206537388","full_name":"030/news-website","owner":"030","description":"Scalable news website on AWS","archived":false,"fork":false,"pushed_at":"2022-04-29T21:33:35.000Z","size":18,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-09T13:51:45.701Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/030.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}},"created_at":"2019-09-05T10:30:38.000Z","updated_at":"2022-04-29T19:06:06.000Z","dependencies_parsed_at":"2022-08-10T00:10:56.589Z","dependency_job_id":null,"html_url":"https://github.com/030/news-website","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/030/news-website","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/030%2Fnews-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/030%2Fnews-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/030%2Fnews-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/030%2Fnews-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/030","download_url":"https://codeload.github.com/030/news-website/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/030%2Fnews-website/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29414278,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-10-27T16:40:46.970Z","updated_at":"2026-02-13T18:32:26.143Z","avatar_url":"https://github.com/030.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# news-website\n\nScalable news website on AWS.\n\n## Getting started\n\n```bash\naws s3 mb s3://testi324332524523432 --profile=training --region=eu-central-1\nzip bla.zip -r cmd go.mod go.sum buildspec.yml\naws s3 cp bla.zip s3://testi324332524523432/bla.zip --profile=training --region=eu-central-1\n```\n\n## Deploy\n\n```bash\nsls deploy --verbose --aws-profile training --region eu-central-1 --stage dev\n```\n\n## Testing\n\nPost:\n\n```bash\ncurl --request POST \\\n  --url https://f2u5ilc7sj.execute-api.eu-central-1.amazonaws.com/dev/newsitem \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"Title\": \"Hello\",\n  \"Description\": \"World\"\n}'\n```\n\nGet:\n\n```bash\ncurl --request GET \\\n  --url https://f2u5ilc7sj.execute-api.eu-central-1.amazonaws.com/dev/news\n```\n\n## Cleanup\n\nDeletion of the CloudFormation stack does not seem to remove the DynamoDB.\nRemove it manually to save costs.\n\n## Sources\n\n* \u003chttps://github.com/serverless/examples/tree/v3/aws-golang-rest-api-with-dynamodb\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F030%2Fnews-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F030%2Fnews-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F030%2Fnews-website/lists"}