HW4 Part 2 Plan
Submission Deadline: [Write down the deadline]
Warning: ASAP is not a plan; you must set a date for your plan, and write down the actual date when you finish the plan
Your HW4 Part 2 Submission Date
- When (Plan): Create application in PHP: finish by 2025-11-07
- When (Actual): 2025-11-07
- Comment: This document will be used to create a plan for the REST API
Project 1 Milestones
Milestone 1 Submission
- What: Define API contract for REST API endpoint(s) and safety rules.
- When (Plan): 2025-11-03
- When (Actual): 2025-11-04
- Comment: Include endpoint path(s), HTTP method(s), request/response schema, auth/flags, and environment restrictions.
Milestone 2 Submission
- What: Implement REST API endpoint and server-side handlers.
- When (Plan): 2025-11-05
- When (Actual): 2025-11-05
- Comment: Keep function small where possible and add logging. Deliver a runnable PHP app (local dev).
Milestone 3 Submission
- What: Add unit tests for REST API
- When (Plan): 2025-11-06
- When (Actual): 2025-11-06
- Comment: Cover happy path, safety checks, and edge cases.
Milestone 4 Submission
- What: Update
README.mdwith REST API spec, usage, and safety notes. - When (Plan): 2025-11-07
- When (Actual): 2025-11-07
- Comment: Include example curl commands and environment flag instructions.