More CRUD
CRUD Basics
- Which HTTP method would you use to update a record through an API?
- Which REST methods require an ID parameter?
Speed Coding: Building a CRUD API
- What’s the relationship between REST and CRUD?
- CRUD is a way of manipulating information, describing the function of an application. REST is controlling data through HTTP commands.
- If you had to describe the process of creating a RESTful API in 5 steps, what would they be?
- Install and import required items
- Designate Port and set up Routes
- Develop schema
- Create functions that accomplish CRUD
- Export to server.js and ensure functionality