How dobladamark/event-rsvp-tutorial works
This is a small RSVP backend exposed through an AWS Lambda handler for API Gateway requests. The handler dispatches event-catalog reads to MySQL, and RSVP submissions, counts, and attendee queries to DynamoDB. RSVP submission validates required fields and uses a transactional write to prevent duplicate emails while incrementing response counts. The single source file implements all routes; route nodes below represent distinct branches within it, not separate modules.
Main entry points: index.js Lambda handler
Components 10
API runtime
- Lambda handler
index.js - HTTP response
index.js
Event catalog
- Event details
index.js - Event listing
index.js - MySQL
RSVP data
- Submit RSVP
index.js - RSVP counts
index.js - Attendee list
index.js - DynamoDB
Other components
- API Gateway
Connections 13
- API Gateway → Lambda handler: invokes
- Lambda handler → Event details: dispatches
- Lambda handler → Event listing: dispatches
- Lambda handler → Submit RSVP: dispatches
- Lambda handler → RSVP counts: dispatches
- Lambda handler → Attendee list: dispatches
- Event details → MySQL: queries
- Event listing → MySQL: queries
- Submit RSVP → DynamoDB: transactionally writes
- RSVP counts → DynamoDB: reads counts
- Attendee list → DynamoDB: queries respondents
- Lambda handler → HTTP response: returns
- HTTP response → API Gateway: sends response