3
Building the API
In the previous chapter, we built a backend that connects to the database, manages user sessions, and sends emails. Now, we will add a specific API to the backend that tracks the memberâs to-doâs. This will require an API that allows members, sessions, and to-dos to be managed.
In this chapter, youâll learn how to build a RESTful API, which is a very popular style of API and one youâll likely use and come across in your career. Youâll also build an API to manage members and authenticate their actions, which could be used in any other app with minimal changes. Finally, we will also build an API to track the to-dos, which, again, could be adapted for other uses.
Weâll build the API using a RESTful style as it works ...
Get A Blueprint for Production-Ready Web Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.