Create, Read, Update, Delete. Four operations, and they cover most of what an app does with its database (day 4). They line up with HTTP methods from day 11: Create is usually a POST. Read is a GET. Update is a PUT or PATCH. Delete is a DELETE. So "add a task to my list" becomes a POST to the tasks endpoint with a JSON body describing the task. "Show my tasks" is a GET to the same endpoint. "Mark it done" is a PATCH. "Remove it" is a DELETE. When someone says they built a CRUD app, they mean an app whose main job is letting users manage records like that. Quick check: You change your profile picture. Which of the four is that? ## SPOKEN LINES - The grocery list you deleted on your phone is back the next time you open the app on your laptop. One of four basic actions never reached the database, and now your notes are lying to you. Every app you own is built on those same four actions. - - CRUD - - CRUD stands for Create, Read, Update, Delete. Those are the four things an app does with the data in its database. - - Posting a photo is create, scrolling the feed is read, editing the caption is update, and the trash icon is delete. - - So CRUD is the four basic things an app does with its data. Tomorrow: Route, how the server knows which code should handle your request. ## NEXT Day 14: Route