Overview
Syllabus
intro
preamble
whoami
things we want our api to be
secure - authentication / authorization
validate unputs
log user activity audit trails
use appropriate response
password management
use config file vs env vars
mask sensitive data
implement rate limiting
secure communication
patch your dependencies
fast - use optimized database queries
implement caching
pagination
break into smaller service
robust
fail early fail fast
use appropriate status code
don't just check errors, handle them gracefully
context passing
acid compliance
context passing
use structured logs
implement health checks
handle retries gracefully
expose metrics
version for maintainability
conclusion
thank you
Taught by
Conf42