The Library manager app allows you to easily add, update and delete books and genres, belonging to your book library.
- Display books and genres
- Add or delete data
- Filter books by genre
- Manage all genre options in a single menu
- Python 3.8
- SQLite
Note: The
$symbol indicates a command that should be run in your terminal. Do not include it when running commands.
- Python 3.8 or higher
- pipenv
-
Clone the repository
-
Navigate to the project directory
-
Install dependencies using pipenv
$ pipenv install -
Activate the virtual environment
$ pipenv shell -
If you want to test the app before using it, type the following command to populate the database with some mock data:
$ python lib/seed.py -
Run the following command to run the CLI to start the App
$ python lib/cli.py
-
Start navigating the menu by simply typing the option`s number that you desire. The app will always give you important feedback as to where you are located in the app and how to change menus. Enjoy!
-
when you enter the app, you will be prompted to either go to genre or book menu.
- You can see all genres
- you can add a new genre to the collection
- And also, delete a genre(Once deleted, all books associated will also be removed) But dont worry, this option will give the user a confirmation prompt
- Once a genre is choosen, you can see all books belonging to it; Update the genre name;
- All books can be managed from inside the genre that you are looking at
- You can see all books