Modern full-stack web application for managing university-scale library operations β from book catalogs to student check-ins β built with a Django REST API and a Reactfront-end.
β’ CRUD management for books, users and borrowing cards
β’ Advanced search & filtering with multiple fields
β’ Real-time statistics dashboards with interactive charts
β’ Student check-in / check-out tracking
β’ Responsive admin and student portals
β’ Token-based authentication & role-based authorization
β’ Binary image storage for book covers & avatars
β’ Docker-ready production configuration (future roadmap)
| Layer | Tech Stack |
|---|---|
| Front-end | React β’ React Router β’ Axios β’ TailwindCSS β’ Recharts |
| Back-end | Python β’ Django β’ Django REST Framework |
| Database | PostgreSQL |
| Tooling | Git β’ Prettier β’ ESLint |
Library-Management/
ββ Backend/ # Django project & apps
β ββ models.py # Auto-generated ORM models (reverse engineered)
β ββ views.py # REST viewsets / controllers
β ββ ...
ββ Frontend/ # React client
β ββ App.js
β ββ Components/
ββ README.md
Follow these instructions to get a local development copy up and running.
# 1. Create & activate a virtual environment
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
# 2. Install dependencies
pip install -r requirements.txt # create this file or install manually
# 3. Apply migrations & create superuser
python manage.py migrate
python manage.py createsuperuser
# 4. Run development server
python manage.py runserver 8000cd Frontend
npm install # or pnpm install
npm run dev # Vite dev server on http://localhost:5173The client is configured to proxy API requests to http://localhost:8000 during development (see vite.config.js). Adjust as needed.
- Sign in as admin using the account you created earlier.
- Navigate to Books β Add to import new titles.
- Issue borrowing cards in Students β Borrow.
- Monitor real-time charts in Dashboard.
Screenshots & GIF demonstrations live in the images/ directory.
- User Management
- Book Management
- Docker Compose for one-command setup
- CI/CD GitHub Actions workflow
- Unit & integration test suite (Pytest + React Testing Library)
See the open issues for full list of proposed features (and known issues).
Made with β€οΈ by the Library-Management team.