This application was designed to manage library data, providing details on books and borrowings.
- Users have the ability to register using their email and password.
- Authentication is implemented using JSON Web Tokens (JWT), providing a secure method for user verification.
- Users can browse a collection of books.
- Users can create new borrowings.
- Users can return borrowings.
- Users have the capability to filter their borrowings based on their active status.
- Admin users have a comprehensive CRUD (Create, Read, Update, Delete) implementation to manage books effectively.
- Admin users can filter all borrowings based on a specific user, allowing for efficient management.
- The application provides documentation through Swagger UI, offering a clear and interactive interface for understanding the API endpoints and functionality.
To launch the application, follow next steps:
- Fork the repository
git clone https://github.com/Sparix/Library-Servicecd drf-library
python -m venv venv
venv\Scripts\activate (on Windows)
source venv/bin/activate (on macOS)
Copy .env-sample -> .env and populate with all required data.
pip install -r requirements.txt
python manage.py migrate
python manage.py runserverTo run the tests: python manage.py test