Skip to content

A Django-based web application for managing book borrowings and inventory in a local library. Features include book CRUD operations, user authentication, borrowing tracking, Stripe payments integration, Telegram notifications, and comprehensive API documentation.

Notifications You must be signed in to change notification settings

haldaniko/Library-DjangoAPI

Repository files navigation

Library Service:

A Django-based web application designed to manage book borrowings and inventory for a local library. Key features include:

  • Full book CRUD operations (Create, Read, Update, Delete)
  • User authentication and role-based access
  • Borrowing and return tracking system
  • Stripe integration for online payments
  • Telegram notifications for overdue or upcoming return reminders
  • Comprehensive API documentation for seamless integration and usage

Installation

Docker

git clone https://github.com/haldaniko/coffee-shop-catalogue.git
cd coffee-shop-catalogue

(Copy .env.sample to .env and populate it with all required data)

docker-compose build
docker-compose up

(Create new admin user)
docker-compose exec app python manage.py createsuperuser;

Manual

git clone `https://github.com/haldaniko/Library-DjangoAPI.git`
cd Library-DjangoAPI

# on macOS
python3 -m venv venv
source venv/bin/activate

# on Windows
python -m venv venv
venv\Scripts\activate

pip install -r requirements.txt

(Copy .env.sample to .env and populate it with all required data.)

python manage.py migrate
python manage.py loaddata initial_data.json
python manage.py runserver

(Create new admin user)
python manage.py createsuperuser

The API will be available at http://127.0.0.1:8000/

Architecture

Architecture.png

Structure

structure.png

Demo

demo.png

demo2.png

About

A Django-based web application for managing book borrowings and inventory in a local library. Features include book CRUD operations, user authentication, borrowing tracking, Stripe payments integration, Telegram notifications, and comprehensive API documentation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published