Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/judevector/bookvault
A library management service that allows users to browse a catalogue of books and borrow them. It consists of two independent API services for users and admins.
https://github.com/judevector/bookvault
api book django django-rest-framework python
Last synced: about 2 months ago
JSON representation
A library management service that allows users to browse a catalogue of books and borrow them. It consists of two independent API services for users and admins.
- Host: GitHub
- URL: https://github.com/judevector/bookvault
- Owner: judeVector
- Created: 2024-09-13T19:10:55.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-22T12:56:29.000Z (4 months ago)
- Last Synced: 2024-10-20T08:02:14.640Z (3 months ago)
- Topics: api, book, django, django-rest-framework, python
- Language: Python
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BookVault
**BookVault** is a library management service built with Django REST Framework (DRF) that allows users to browse a catalogue of books and borrow them. It consists of two independent API services for users and admins.
## Features
### Frontend API (User Facing)
- **Enroll users**: Users can register with their email, first name, and last name.
- **Browse catalogue**: List all available books in the library.
- **Book details**: View detailed information about a book by its ID.
- **Filter books**: Filter books by publisher (e.g., Wiley, Apress, Manning) or by category (e.g., fiction, technology, science).
- **Borrow books**: Users can borrow a book by specifying the borrowing duration in days.### Admin API
- **Add new books**: Admins can add new books to the library catalogue.
- **Remove books**: Admins can remove books from the catalogue.
- **View users**: Fetch and list all users enrolled in the library.
- **View borrowed books**: Admins can see which users have borrowed books and when the books will be available again.
- **Unavailable books**: List books that are currently unavailable for borrowing, with their expected availability date.## Tech Stack
- **Backend**: Django REST Framework (DRF)
- **Data Stores**: SQLiteDB (other DB solutions can be utilized if needed)
- **Containerization**: Docker for both services
- **Testing**: Unit and integration tests for service validation
- **Messaging Queue**: Used RabbitMQ for communication between the two services## Architecture
BookVault is built with two independent services:
1. **Frontend API**: Handles user interactions like book browsing, registration, and borrowing.
2. **Backend/Admin API**: Manages library operations such as book cataloging and user management.