Reading-Notes

Reading Notes

CRUD Basics

Which HTTP method would you use to update a record through an API?

Put

Which REST methods require an ID parameter?

Delete

Videos

Speed Coding: Building a CRUD API (Watch a Twitch streamer code an Express API in 20 minutes!)

What’s the relationship between REST and CRUD?

REST is an architectural system centered around resources and Hypermedia using HTTP commands. CRUD is a cycle meant to maintain records in a database setting. In its base form, CRUD is a way of manipulating information, describing the function of an application. REST is controlling data through HTTP commands. It is a way of creating, modifying, and deleting information for the user. CRUD functions can exist in a REST API, but REST APIs are not limited to CRUD functions. CRUD can operate within a REST architecture, but REST APIs can exist independent of CRUD. https://www.logicmonitor.com/blog/rest-vs-crud

If you had to describe the process of creating a RESTful API in 5 steps, what would they be?