Requirements
Define a small service's functional behavior and nonfunctional constraints. Agree on health endpoint, data handling, budget boundary and recovery expectation before choosing infrastructure. Define POST /tasks, GET /health and a maximum accepted payload before choosing services. An acceptance test expects valid input to return 201 and malformed input to return 400.
Define POST /tasks, GET /health and a maximum accepted payload before choosing services. An acceptance test expects valid input to return 201 and malformed input to return 400.
An acceptance criterion is an observable required result; scope defines included behavior; a constraint limits allowable design choices. Imagine the task API needs persistence after restart but not user accounts in its first version. That requirement changes storage choice, while adding an identity system may be unnecessary scope. Specify valid and invalid input, response semantics, health behavior and data-retention expectations before implementation. Give each nonfunctional requirement a checkable interpretation, such as a documented recovery procedure rather than the word reliable. Narrow scope makes the capstone reproducible and easier to review, but omissions must be explicit. Trace every chosen component back to a requirement, and maintain a deferred list so optional complexity does not quietly become essential to finishing the demonstration.
An acceptance test expects valid input to return 201 and malformed input to return 400.
Choosing services should come before deciding the required user behavior.