Design — detailed components. Architecture — high-level structure.
System Design:
Design Example:
- User table: id, name, email, password
- API endpoint: POST /api/login
- Authentication: JWT tokens
- Password hashing: bcrypt
System Architecture:
Architecture Example:
- Frontend: React SPA
- Backend: Node.js microservices
- Database: PostgreSQL + Redis
- Infrastructure: AWS ECS
- Communication: REST APIs
Key differences: