Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 600 Bytes

File metadata and controls

24 lines (15 loc) · 600 Bytes

Sinatra

Performing CRUD Actions on a Resource

Objectives

  • Understand how the CRUD actions map to RESTful routes

Deliverables

For each of the deliverables consider what route(s) are necessary

Read

  • As a site visitor, I should be able to see a list of all the books
  • As a site visitor, I should be able to see info about an individula book

Create

  • As a site visitor, I should be able to create a new book

Update

  • As a site visitor, I should be able to edit an existing book

Destroy

  • As a site visitor, I should be able to delete a book from the database