Django Library RESTful API
project description
A django app RESTful api to manage multiple libraries concurrently.
- Can add many library
- Book shelves can be added to any library with a specific number
- Lending books from libraries to one user can be managed
About
This is a RESTful api to manage multiple libraries that borrow book to user. the admin.py create good django adminstration for library that you can:
- Search name , author or user that borrow book
- Filter author of books
- Search book and library between list of shelves
- Filter shelves of specific library
- Search Library in specific city
- Look for which library has a specific book
- Filter borrows list with borrow date and give back date
Installation
Install using pip
::
pip install djangorestframework
pip install django-library-restful
- Add "polls" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ ... 'django_library_restful', ]
- Include the library URLconf in your project urls.py like this::
from django.urls import path, include
from django_library_restfull.router import bookstore_api_router
urlpatterns = [
path('api/library/', include(bookstore_api_router.urls))
]
-
Run
python manage.py makemigrations django_library_restfull
to create the sql. -
Run
python manage.py migrate
to create the polls models. -
Use library api
License
Uses the MIT license.
- Django Library RESTful api : https://github.com/MHolger77/django-libraries
- MIT: http://opensource.org/licenses/MIT