URL--https://librarymanagement4.herokuapp.com/auth/signup POST
Req params- {
"name": "name of user--string", "email": "email of user -- string", "phone_no": "mob no -- string", "password": "password -- string", "reg_no": "reg no -- string", "gender": "gender -- string", "type": "student or teacher --string" } res--> JWT token with user deatils
URL- https://librarymanagement4.herokuapp.com/auth/signin POST
Req params - { "email" - "Email of the user", "password" - "password provided at the time of registration } Res- JWT token with user deatils
URL- https://librarymanagement4.herokuapp.com/findstudent GET
Req params - { "search" -- "Search Key name of student" } with JWT token for authentication Res- Deatils of student or None received
URL- https://librarymanagement4.herokuapp.com/AllStudents GET
Req params -- none with JWT token passed Res -- We will get all students present in the database
URL- https://librarymanagement4.herokuapp.com/addBook GET
Req params -{ "title" : "Tite of the book --string", "ISBN" : "unique ISBN number --string", "stock" : no of books in stock --number, "author" : "Author of the book -- string", "description" : "Description of the book -- string", "category" : "Category book belongs to -- string" } Res - Book is Added Successfully
URL -https://librarymanagement4.herokuapp.com/updateBook POST
Req params -{ "title" : "Tite of the book --string", "ISBN" : "unique ISBN number --string", "stock" : no of books in stock --number, "author" : "Author of the book -- string", "description" : "Description of the book -- string", "category" : "Category book belongs to -- string" } Res - Book is Updated Successfully
URL- https://librarymanagement4.herokuapp.com/deleteBook GET
Req params -{ "title" : "Tite of the book --string", "ISBN" : "unique ISBN number --string", "stock" : no of books in stock --number, "author" : "Author of the book -- string", "description" : "Description of the book -- string", "category" : "Category book belongs to -- string" } Res- Book deleted Successfully
URL - https://librarymanagement4.herokuapp.com/getAllbooks GET
Req params- Null Res- Returns All Books present in the database
URL - https://librarymanagement4.herokuapp.com/issueBook POST
Req params - { "ISBN" : "ISBN no of the book to be issued" } Res- Book is being successfuly Issued
URL - https://librarymanagement4.herokuapp.com/renewBook POST
Req params - { "ISBN" : "ISBN no of the book to be issued" } Res- Book is renewed for 7 days Successfully
URL - https://librarymanagement4.herokuapp.com/fine POST
Req params-- Null with Jwt token for user Res - fine has being successfully calculated and updated