Skip to content

srilekha98/BookShoppingApplication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book Shopping Application

Extra credit:

Form pre-filling: Done

Take care of race conditions: Done

Implement a cart-like function: Done

Testing: added tests for book

Home Page

HTTP Method URL Description
GET http://152.7.177.32:3000/ Home page

Credentials for the preconfigured admin

Username: admin
Password: admin

Books

HTTP Method URL Description
GET http://152.7.177.32:3000/books View all books
image
GET http://152.7.177.32:3000/books?author=Mr.+Anonymous&commit=Filter Filter books by Author
image
GET http://152.7.177.32:3000/books?rating=3&commit=Filter Filter books on rating
image
GET http://152.7.177.32:3000/transactions/new?book_id=1 Buy the particular book by clicking this link
image

Reviews

HTTP Method URL Description
GET http://152.7.177.32:3000/reviews?book_id=1 View Reviews of the specific book
image
GET http://152.7.177.32:3000/reviews?user_id=1 View your reviews
image
GET http://152.7.177.32:3000/reviews/1/edit Edit your review
image

Admin

HTTP Method URL Description
GET http://152.7.177.32:3000/reviews?book_id=1 View All Users
image
DELETE http://152.7.177.32:3000/reviews?user_id=1 Delete this user account
image
GET http://152.7.177.32:3000/reviews?user=ameya&commit=Filter List Reviews written by a specific user
image
DELETE http://152.7.177.32:3000/books/5 Delete the book
image
DELETE http://152.7.177.32:3000/books/5 Delete reviews by clicking on the delete link
image

Class Diagram

Team Members

Ameya Vaichalkar

Sanket Tangade

Srilekha Gudipati

About

ruby on rails program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published