Bookmark API

In this chapter, we are going to build the backend (API server) for a hypothetical Bookmark application.

Bookmark apps help you keep details about the websites you visit so you can reference and revisit them whenever you need. In its simplest form, a bookmark app stores website URLs.

The backend will provide persistence by storing bookmarks in a database. We will expose the backend through a RESTful API. The API will enable users to create bookmarks and read, update, and delete the bookmarks they've created.

Aside: I recommend skimming over Best practices for designing APIs by Philipp Hauer. We will incorporate several of these practices!

The source code for this chapter is available here. The deploy API server is available here.