Bookstore with filtering and search for books of interest. Also provides the ability to add and send book deletion requests to authorized users.
- Open book list BookListView
- Adding a book to the general list AddBookView
- Sending book deletion request DeleteReqView
- Filtering books by genre BookGenreView
- Searching for the desired book by author/genre BookSearchView
- Python 3.11
- Django 4.2
- HTML, CSS, JS, Jquery[AJAX]
- SQLite 3
Clone the repository to the local machine
git clone https://github.com/Segfaul/libraio.git
Go to the repository directory
cd libraioCreate and activate a virtual environment
python -m venv env source env/bin/activateSet project dependencies
pipinstall-rrequirements.txt
Go to the libraio directory
cd libraioCreate database migrations and apply them
pythonmanage.pymakemigrationspythonmanage.pymigrate
Create a Django project superuser (admin)
pythonmanage.pycreatesuperuser
Run the project on localhost in the background
pythonmanage.pyrunserver&
Go to the site and enter the previously created data of the superuser (step 6)
http://127.0.0.1:8000
Migrations - is Django's way of propagating changes you make to your models (adding a field, removing a model, etc.) to the database schema.
Create new migrations based on the changes you made to your models
pythonmanage.pymakemigrations
Using previously created migrations
pythonmanage.pymigrate