{"id":32614954,"url":"https://github.com/eyaa5/olympus-events-api","last_synced_at":"2026-05-03T11:36:19.486Z","repository":{"id":320460393,"uuid":"1081867011","full_name":"eyaa5/olympus-events-api","owner":"eyaa5","description":"Serverless API (API Gateway + Lambda + DynamoDB) — tested with Postman.","archived":false,"fork":false,"pushed_at":"2026-04-03T08:43:21.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-03T14:46:13.187Z","etag":null,"topics":["apigateway","aws","dynamodb","lambda","postman","python","serverless"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eyaa5.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-23T12:03:17.000Z","updated_at":"2026-04-03T08:43:26.000Z","dependencies_parsed_at":"2025-10-23T23:35:36.685Z","dependency_job_id":"0d165218-8ae6-4124-abbe-8a78fb5b3431","html_url":"https://github.com/eyaa5/olympus-events-api","commit_stats":null,"previous_names":["eyaa5/olympus-events-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eyaa5/olympus-events-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyaa5%2Folympus-events-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyaa5%2Folympus-events-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyaa5%2Folympus-events-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyaa5%2Folympus-events-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eyaa5","download_url":"https://codeload.github.com/eyaa5/olympus-events-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyaa5%2Folympus-events-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32567639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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":["apigateway","aws","dynamodb","lambda","postman","python","serverless"],"created_at":"2025-10-30T16:01:13.981Z","updated_at":"2026-05-03T11:36:19.479Z","avatar_url":"https://github.com/eyaa5.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Serverless Events API – Production-Ready Backend (Lambda, API Gateway, DynamoDB)\n\n![AWS Lambda](https://img.shields.io/badge/AWS-Lambda-orange)\n![API Gateway](https://img.shields.io/badge/AWS-API%20Gateway-yellow)\n![DynamoDB](https://img.shields.io/badge/AWS-DynamoDB-blue)\n![Made with Python](https://img.shields.io/badge/Python-3.11-informational)\n![License: MIT](https://img.shields.io/badge/License-MIT-green)\n\n Serverless AWS backend project demonstrating real-world cloud architecture and troubleshooting skills.\n\nA production-style serverless REST API built on AWS using API Gateway, Lambda, and DynamoDB.  \nThis project demonstrates scalable backend architecture and cloud-based API development.\n\n---\n\n##  System Architecture\n\nClient → API Gateway → AWS Lambda → DynamoDB\n\n- API Gateway receives HTTP requests  \n- Lambda processes the logic  \n- DynamoDB stores event data  \n\n---\n\n##  Troubleshooting \u0026 Debugging\n\n### Issue: API Gateway not triggering Lambda\n- Cause: Missing integration configuration  \n- Fix: Re-linked API Gateway to Lambda  \n\n### Issue: CORS errors\n- Cause: Missing CORS headers  \n- Fix: Enabled CORS in API Gateway  \n\n### Issue: DynamoDB not returning data\n- Cause: Wrong table name or region  \n- Fix: Corrected configuration  \n\n### Issue: Permission error\n- Cause: IAM role missing permissions  \n- Fix: Added DynamoDB permissions  \n\n---\n\n##  What I Learned\n\n- How to build serverless APIs with AWS  \n- How API Gateway connects to Lambda  \n- How DynamoDB works as a database  \n- How to debug cloud applications  \n- Importance of IAM roles  \n\n---\n\n##  Future Improvements\n\n- Add authentication (Cognito)  \n- Add logging with CloudWatch  \n- Improve error handling  \n- Add filtering and pagination  \n- Use Infrastructure as Code (Terraform or SAM)  \n\n---\n\n##  Architecture Details\n\n- **DynamoDB**: table `olympus_events` (PK: `id`)  \n- **Lambda**: `olympus-read-events`  \n- **API Gateway (HTTP API)**:  \n  - `GET /events` → Lambda  \n  - `GET /event/{id}` → Lambda  \n\n\u003e Demo CORS is `*` for simplicity. In production, restrict to your allowed origin(s).\n\n---\n\n##  Endpoints\n\n- `GET /events` — list all events (supports `?limit=`)  \n- `GET /event/{id}` — get a single event (e.g., `e3`)  \n- `GET /health` — health check (`{ \"ok\": true }`)  \n\n---\n\n##  Live API\n\nBase URL:  \nhttps://cspklka3i3.execute-api.eu-central-1.amazonaws.com\n\nAvailable endpoints:\n- `GET /events`  \n- `GET /event/{id}`  \n- `GET /health`  \n\n---\n\n##  Quick curl test\n\n```bash\n# list events\ncurl https://cspklka3i3.execute-api.eu-central-1.amazonaws.com/events\n\n# single event\ncurl https://cspklka3i3.execute-api.eu-central-1.amazonaws.com/event/e3\n\n# health\ncurl https://cspklka3i3.execute-api.eu-central-1.amazonaws.com/health\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feyaa5%2Folympus-events-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feyaa5%2Folympus-events-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feyaa5%2Folympus-events-api/lists"}