Grokking ExpressJS
0% completed
Implementing CRUD Operations with Express.js
Six routes give a client full control over a list of tasks. One creates a task, two read tasks, two change a task, and one deletes it. Those four kinds of action are known together as CRUD, for Create, Read, Update and Delete, and almost every API that stores data offers them for each resource.
This lesson builds those six routes for the task API described in the previous lesson. The tasks live in an array in memory, so the code runs without a database, and every task is lost when the server restarts. A later chapter stores them in a real database.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%