Form pre-filling: Done
Take care of race conditions: Done
Implement a cart-like function: Done
Testing: added tests for book
HTTP Method | URL | Description |
---|---|---|
GET |
http://152.7.177.32:3000/ | Home page |
Username: admin
Password: admin
HTTP Method | URL | Description |
---|---|---|
GET |
http://152.7.177.32:3000/books | View all books |
GET |
http://152.7.177.32:3000/books?author=Mr.+Anonymous&commit=Filter | Filter books by Author |
GET |
http://152.7.177.32:3000/books?rating=3&commit=Filter | Filter books on rating |
GET |
http://152.7.177.32:3000/transactions/new?book_id=1 | Buy the particular book by clicking this link |
HTTP Method | URL | Description |
---|---|---|
GET |
http://152.7.177.32:3000/reviews?book_id=1 | View Reviews of the specific book |
GET |
http://152.7.177.32:3000/reviews?user_id=1 | View your reviews |
GET |
http://152.7.177.32:3000/reviews/1/edit | Edit your review |
HTTP Method | URL | Description |
---|---|---|
GET |
http://152.7.177.32:3000/reviews?book_id=1 | View All Users |
DELETE |
http://152.7.177.32:3000/reviews?user_id=1 | Delete this user account |
GET |
http://152.7.177.32:3000/reviews?user=ameya&commit=Filter | List Reviews written by a specific user |
DELETE |
http://152.7.177.32:3000/books/5 | Delete the book |
DELETE |
http://152.7.177.32:3000/books/5 | Delete reviews by clicking on the delete link |