- HTTP request JSON input
- Express Routes and responses
- MongoDB Mongoose model
Local checks cover create, read, update, delete, and missing records.
The problem
A small records API still needs predictable behavior. A missing record should return a clear response, a partial update should preserve fields that were not changed, and a delete should have the expected result.
How it works
Express routes handle JSON requests and query filters. A separate Mongoose model provides create, find, update, and delete operations against MongoDB. The routes return JSON responses and distinguish successful requests from records that are not found.
What I checked
The saved local verification report records 29 supplied HTTP requests passing. It also records checks for an omitted optional phone number, partial and full updates, a delete with no matching records, the expected collection, and cleanup. This is a local result, not a claim of production deployment.
Status and next steps
The coursework implementation and verification files are retained locally. The next improvements would be explicit input validation, malformed ID handling, and broader failure tests. Course source and supplied request material are not published here.