Summary
In this chapter, we’ve defined how we are storing the data in the database and then built an API to manage sessions, members, and to-dos. This includes all the functionality our app will need via an easy-to-understand RESTful API.
While the to-do functionality is unlikely to be directly useful to your app, the CRUD functionality is a pattern you should use. In addition, the member and session APIs could be used directly in your app. Finally, you’ve hopefully gained an understanding of what makes a good RESTful API that you can apply and use elsewhere.
In the next chapter, we’ll create a styled frontend, including validated data entry in React, that we can use with this API or any other.