Jantu-Internship

# library-management-api

Points that had been covered

  • Add Books
  • New Student can registered
  • Books inventory updated on issue and return on books
  • student can issue and return the books
  • students can hold 3 books at a time
  • Exception if the book not found
  • Cannot issue already issue books

Tables name

  • Books
  • Students
  • Inventories

API endpoints

Show Registered Students

http://127.0.0.1:8000/students

Show Inventory

http://127.0.0.1:8000/inventory

Show Books

http://127.0.0.1:8000/

Add Books

http://127.0.0.1:8000/add_books/Code with Python

Register/ Add Students

http://127.0.0.1:8000/add_students/Albert

Issue a Book

http://127.0.0.1:8000/issue_books/Albert/Fire and Ice

Return a Book

http://127.0.0.1:8000/return_books/Albert/Fire and Ice