recommended books system
1.0.0
Restful apis for a system that show user a list of books and recommended books by user rating, and similar books (in this project tried to use raw sql instead ORM)
in this project we use Postgresql (vector support) for database, and celery for async operations and run tasks in Rabbitmq. sure you installed them in local machine or use dockerize images.
for run postgresql in docker:
docker run --name postgresDB --env POSTGRES_PASSWORD=admin --env POSTGRES_DB=postgres --env POSTGRES_USER=postgres --env POSTGRES_HOST_AUTH_METHOD=trust --publish 5432:5432 --detach ankane/pgvectorfor run rabbitmq (celery use it, also you can use redis):
docker run -d -p 5672:5672 rabbitmqClone the project
git clone https://github.com/sina-mobarez/recommended-books-system.gitGo to the project directory
cd recommended-books-systemInstall dependencies
pip install requirements.txtmigrate and fill database
python manage.py migrate
python manage.py setup_dbStart the Celery
celery -A core worker --loglevel=infoVectoring all books in db
python manage.py vectorize_booksStart the Server
python manage.py runserver
Server: Python, Django, RestFramework. Swagger. Celery, Clip, Torch
Contributions are always welcome! You can ask me about this project by email
MIT