QRFactory is building a QR code API service. Features:
- Generate QR codes - accept a URL, plain text, vCard, WiFi config, or email address and return a QR code image (PNG/SVG) via REST API.•Customization - set colors, size, logo overlay in the center, and error correction level.•Dynamic QR codes - the QR code points to a redirect URL that can be changed after printing. Track scan analytics.•Batch generation - upload a CSV of 1,000 URLs and receive a ZIP of QR code images.•Scan analytics - for dynamic codes, track scan count, time, location, and device.
Targeting 50,000 API calls per day generating 100,000 QR codes per day.
Design a QR code generation API that creates, stores, and tracks QR codes for URLs, text, and contact cards. Build this architecture under realistic production constraints, then validate tradeoffs in the design lab simulation.
Request path: The solution keeps ingress, service logic, and stateful dependencies separated so each layer can scale independently.
Reference flow: Web Clients -> DNS -> CDN Edge -> API Gateway -> API Service -> Redis Cache -> Primary SQL DB