I made this web app in the last year at the college ๐ซ.
It didn't had fancy JavaScript framework, just pure Django + little bit of jQuery ๐ด.
There is hype going around with HTMX library. So I decided to give it a try ๐.
Backend: Python + Django ๐
Database: SQLite ๐ฌ
Frontend: HTMX + Alpine.js ๐
git clone https://github.com/uros-5/bookstore
cd bookstore
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
python3 manage.py makemigrations
python3 manage.py migrate
Populating database will be executed in 'django shell'.
python3 manage.py shell
In shell paste this
from bookstore import db_work
It will fetch images and do all database related work.
cd bookstore/ui
npm install
npm run build
cd ../..
sh runserver.sh