ddeleon267 / todo-app-study-group

Simple app for lecture on CRUD / REST / forms in sinatra

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

REST => Representation State Transfer => set of conventions for structuring our ROUTES and mapping them to CRUD actions (Create, Read, Update, Delete).

HTTP VERB ROUTE ACTION CRUD Function
GET /todos index Read
GET /todos/:id show Read
GET /todos/new new Create
POST /todos create Create
GET /todos/:id/edit edit Update
PATCH (PUT)* /todos/:id update Update
DELETE /todos/:id delete Delete

*(patch modifies, put replaces)

About

Simple app for lecture on CRUD / REST / forms in sinatra


Languages

Language:Ruby 64.4%Language:HTML 20.3%Language:CSS 15.4%