Open campustradein opened 8 years ago
There should be a searchbox at the top of the form allowing users to search by ISBN. When a user enters the ISBN, it automatically queries google books api to get suggestions and returns the book details. The book details can then be auto populated for the user so he/she does not have to manually fill every field
Example of JSON information that needs to be sent via AJAX to the backend service { "title" : "Absolute Java", "authors" : ["Walter J. Savitch"], "isbn13" : "9780136083825", "isbn10" : "013608382X", "listedBy": "username", "categories" : ["Computer science", "Java"], "condition" : "fairly new", "price" : 99.99 }
The images will probably need to be uploaded asynchronously.. I havent implemented it on the backend yet. Will do by the end of the week and i'll let you know
https://almsaeedstudio.com/themes/AdminLTE/index2.html
first menu item should be "My books" on the left When a user clicks on add a book, a modal form should pop up with the following fields