backend for bookhub using Django and Python
video of presentation: https://youtu.be/z4Pml66kBuk
Project of DS50 UTBM 2023 :Web e-commerce with recommandation algorithm (KNN)
#
python3.9 manage.py makemigrations bookhub
#
python3.9 manage.py migrate bookhub
- password encoding
- password encoding
- recommend books(most rated, most popular, recommendation based on one book using KNN)
- books by category
- book detail
- is favorite judgment
- get rate
- show more
- set cart
- get cart
- remove cart by book/all
- payment
- get favorite list
- set favorite
- remove favorite
- rating books(set rate)
- get search result
- show more
- get history of buying
- models.py collection mapping
- views.py APIs
- utils.py functions used in API (algorithm)
- setting.py settings (registration of app, connection settings with MongoDB)
- urls.py urls of APIs
# pymongo
pip install pymongo
# djongo
pip install djongo
# setting.py