Skip to content

mlhmz/library_management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

53 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Library Management πŸ“•

Overview 🌻

The library management is a school assignment and is meant to manage books.

Features ✨

  • Pagination
  • Sorting
  • Filtering
  • Borrow Books
  • Delete Borrowed Book Entries
  • Authentication

Stack 🐍

  • Python
  • Django
  • Node.js and NPM
  • Tailwind CSS
  • DaisyUI

Get started πŸš€

Create .venv in root directory

py -m venv .venv

Start .venv with the command for your os and terminal e.g. Linux with zsh

source .venv/bin/activate

Install requirements

pip install -r requirements.txt

Apply database migrations

py ./manage.py migrate

Apply fixtures

py ./fixtures.py

Run django development server

py ./manage.py runserver

Create superuser

py ./manage.py createsuperuser

Run CSS Preprocessor

⚠ THIS IS ONLY REQUIRED, IF YOU NEED TO UPDATE TAILWIND CLASSES.

If you use new tailwind classes, that have been never used before, you will need the preprocessor, else, you won't see the newly added classes.

You will also need a node.js environment to execute the preprocessor

Navigate to jstoolchain

cd jstoolchain

Install dependencies

npm i

Run tailwind watch

npm run tailwind:watch

If you changed some styling, please build the new style file and commit it to the repo

npm run tailwind:build

Screenshots

282259618-4198531c-430d-4fd3-97c7-877657cc2e05 282259625-9e27f796-5e19-46cf-945e-ca1739d698bb 282259646-51fa702d-5437-44f4-9c00-cf3fe129d165 282259660-47b73f24-1e34-4e60-b7e7-f9e921c2f9b3 282259665-68b266c3-c842-4a61-a882-1bd0539fc033 282259687-4e7e7031-fc48-43a0-88a4-a6430da5686a

About

app to manage books in a library, a book library. πŸ“•

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors