Speaker Notes: - Create an application to create your very own Axolotl - Nothing scares a business more than trademark infringement - Write an application using only AI - I cannot write any code, but I can write a prompt for an AI to generate the code - Make sure that all components are self hosted and Open Source - I don't want to make any external calls to other hosted services - Caveat for authentication as for the next step... - I don't want to store any personal identifiable information - Email is the only data that is captured, so that we can send an email to the user with their image - The generated Axolotl image needs to be appropriate - Nothing scares a business more than trademark infringement
Speaker Notes: Chi Router with Middleware Chain: - Chi is a lightweight, composable HTTP router for Go (like Express.js for Node) - Middleware chain pattern allows us to compose cross-cutting concerns - Each middleware wraps the request/response cycle: * Metrics middleware - captures Prometheus metrics for every request * Tracing middleware - adds OpenTelemetry spans for distributed tracing * CORS middleware - handles cross-origin requests from frontend * RateLimit middleware - prevents abuse and ensures fair usage * Auth middleware - optional API key authentication - Benefits: Clean code separation, testable in isolation, easy to add/remove - Example coming up in slide 14 shows the actual middleware chain code - This pattern is common in production Go services and scales well