This document provides an overview of the serverless AWS infrastructure used to host the backend for the Pokémon GO Event Notifier project.
runPokemonGoEventPipeline: This function contains the entire Python backend logic. It is triggered by an EventBridge rule to run on a daily schedule.
OPENAI_API_KEYgetPokemonGoEvents: This function serves as the backend for the API. It queries the PokemonGoEvents DynamoDB table and returns a list of upcoming events.
PokemonGoEvents: This table stores the structured event data.
event_idUpcomingEventsIndex for querying future events.ProcessedContentHashes: A simple key-value store to track the hashes of scraped content to prevent redundant processing./events (GET): An API endpoint that triggers the getPokemonGoEvents Lambda function.
runPokemonGoEventPipeline Lambda function once a day, ensuring the event data is kept up-to-date.