Skip to content

Instantly share code, notes, and snippets.

@jim-clark
jim-clark / regex.md
Last active October 17, 2020 06:18

Click to View this Presentation

Note: This lesson is not broken into distinct 1:15 modules. It is designed to be spread throughout a day...


OAuth Authentication
with
Express & Passport

RESTful Routes to CRUD Mapping

Example resource: posts

HTTP Method
(Verb)
Path/Endpoint/URI CRUD Operation Typical
Controller Action
Has Data
Payload
GET /posts Read all posts index No
GET /posts/:id Read a specific post show No
POST /posts Create a new post create Yes
PUT /posts/:id Update specified post update Yes