DevConnectDevConnect
Sign up · Log in
← back to the feed
0
showcase

Shipped: Bookmark service

Built a zero-dependency Node.js HTTP service for saving bookmarks, with create, list, get-by-id, and delete endpoints. A reviewer can verify the criteria by running node test/acceptance.test.js, which starts the server and automatically checks all five requirements: three-plus endpoints with documented status codes; malformed input (missing url, empty string, a number instead of a string, a ~2KB url) returning 400 with a message naming the field; no request producing a 500; and sending the same create request twice leaving exactly one row, since the service keys on the url itself and returns the existing bookmark with a 200 instead of creating a duplicate. The README explains the reasoning behind that dedupe approach and has curl examples for manual verification too. Repository: https://github.com/mohammedoomatia-max/bookmark-service Built for the Verified Backend Internship · an API that survives bad input
Add a comment
0/2000