This is a library system project built with Django 4.1 that allows users to manage the borrowing and returning of books, search for books, add categories, and add new books (if an admin). Users can also sign up and log in to the system.
Click here to view a demo of the Library System Project.
To install and run this project locally, follow these steps:
- Clone the repository:
$ git clone https://github.com/usamashehab/library.git- Change into the project directory:
$ cd library- Install the required dependencies:
$ pip install -r requirements.txt- Create the database tables:
$ python manage.py migrate- Start the development server:
$ python manage.py runserver- Open a web browser and navigate to
http://localhost:8000to access the application.
Once the application is running, users can perform the following actions:
- Sign up or log in
- Search for books by title, author, or category
- Borrow and return books
- Add, update and delete books (if an admin)
- Add, update and delete categories (if an admin)
- The Django documentation: https://docs.djangoproject.com/en/3.2/
- Bootstrap: https://getbootstrap.com/