Use Case Scenario: Library System with Single Table to Add and Manage Books
Title: Managing Library Books
Primary Actor: Librarian
Goal: Develop a BE Application to Add and View books in the library system using a single table.
* All the logs should be recorded in Sentry.
* At least 50% of the code should be covered with unit tests.
Main Success Scenario:
1. Librarian Logs into the Library System:
o Action: The librarian navigates to the library system login page and enters their username and
password.
o System Response: The system authenticates the user and grants access if the credentials are valid.
If the credentials are invalid, an error message is displayed.
o Precondition: The librarian has a registered account in the system.
o Postcondition: The librarian is logged in and can access the system's features.
2. Librarian Adds a New Book:
o Action: The librarian selects the "Add Book" option and inputs the book details (Title, Author,
ISBN, Publication Year, Genre).
o System Response: The system adds the book to the single table and confirms the addition.
o Postcondition: The book is now listed in the library's collection.
3. Librarian Views the List of Books:
o Action: The librarian selects the "View Books" option.
o System Response: The system displays a list of all books in the library with their details (ID,
Title, Author, ISBN, Publication Year, Genre).