Why this matters: This information matters because it defines the functions and methods used in CRUD, and gives us a very fast demo of creating a CRUD API via Twitch.
Source: https://medium.com/geekculture/crud-operations-explained-2a44096e9c88
1. Which HTTP method would you use to update a record through an API?
PUT, it replaces all current data of the target resource with the uploaded content.
2. Which REST methods require an ID parameter?
PUT and DELETE
Source: https://www.youtube.com/watch?v=EzNcBhSv1Wo
1. 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. CRUD is a way of manipulating information, describing the function of an application. Source
2. If you had to describe the process of creating a RESTful API in 5 steps, what would they be?
Identify resources - Object Modeling
Create Model URIs (resource URIs = API endpoints)
Determine resource representations (defined in either XML or JSON)
Assigning HTTP methods (map app operations to resource URIs)
More Actions: logging, security, discovery, etc.
npx create-express-api
command!