The terminal-based library program is a command-line application for managing library operations. It allows tasks such as adding books, searching, checking out, and returning books, as well as managing user accounts. It provides an efficient interface for librarians and patrons to interact with the library system.
- As a very eclectic reader, I want to be able to consult the books I want to rent by categories, so that I don't have to read description by description of the books until I find a book that I like.
- As someone who loves synopses, I want to be able to read the description of books before I choose them, so I would have an idea of what they are about before I read them.
- As a warehouse librarian, I want the system to be able to register new books and remove any books that I need, such as the availability query, so that I no longer need to use analogue or manual methods to do so.
- As an attendant librarian, I want to be able to consult a book in a simple graphical interface, such as changing its availability status, quantity, etc., so that a rented book will not be available in the system.
- As a manager of a library system, I want to be able to know who rented a book, what time, when it will have to be returned, contact number, address and fine, if any, all through a graphical interface as well, because that way I can have control of the integrity of books in general and for security purposes as well.
- As an executive director of the project, I want the system to have a login screen, where given a specific login this user has specific permissions and rights, so that it is impossible for a user who wants to rent a book not to be able to register or delete a book for example, then messing with the system.
- Lucas Rezende
- Lucas Wiermann
- Mateus Ryan
- Victória Reis
- Pedro Alexandria
In order to set your environment up to run the code here, first install all requirements. Obs: Use the command consistent with your operating system, the examples given were done in ubuntu and arch
Ubuntu:
sudo apt-get install sqlite3 libsqlite3-devArch:
sudo pacman -S sqliteThen, with this library installed and making sure that the C++ dependencies are also on your computer, download the .zip of this project. In your terminal, access the project folder, after that type:
makeAfter that, the program will be compiled in a file called "biblioteca". Then, type:
./bibliotecaThat way you can use the program and its features.
