A backend-intensive Library Management System built on Django and Django REST Framework (DRF).
This repository contains all REST APIs, database models, search logic, and backend architecture powering the Library Project.
The frontend for this project is built using React.js and is maintained in a separate repository.
- Python
- Django
- Django REST Framework
- SQLite (default, easily configurable to PostgreSQL)
- RESTful API Architecture
Below is a snapshot showing API responses in action:
π React Frontend Repo:
https://github.com/resel143/ReactJS-Mini-Projects/tree/master/Library%20Project
- π Book CRUD APIs (Create, Read, Update, Delete)
- π Search API for books
- π Fetch book by ID
- π§ Clean REST API architecture
- π Modular Django app structure
- π JSON-based API responses
- π§ͺ Easy to test via Postman
All the following backend tasks are completed and closed:
- β Initialize Django Project
- β Django URLs & Routing Concepts
- β Templates Setup
- β Static Files Rendering
- β Template Variable Rendering
- β Backend Folder Structure Setup
- β Book Data Model Creation
- β REST API β GET All Books
- β REST API β POST (Create Book)
- β REST API β UPDATE Book
- β REST API β DELETE Book
- β GET Book by ID API
- β Search API Implementation
- β Backend β Frontend Integration Support
- β Demo Added
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/books/ |
Fetch all books |
| GET | /api/books/<id>/ |
Get book by ID |
| POST | /api/books/create/ |
Create new book |
| PATCH | /api/books/update/ |
Update book |
| DELETE | /api/books/delete/<id>/ |
Delete book |
| GET | /api/books/search/<query>/ |
Search books |
git clone https://github.com/resel143/reshul-django.git
cd reshul-django
