Introducing our cutting-edge Product Catalog, a seamless blend of technology and customer-centric innovation. Elevate your business with features that go beyond the ordinary
- Uses an own microservice dm-recommendations to obtain recommended products and improve the user experience
- Converts images to WEBP
- Resizes images according to screen size
- Applies some frontend techniques to improve performance
- Applies cache with redis
- Has a product search and pagination
- Has implements real-time chat with Django channels
- Has ChatGPT implemented to answer some frequently asked questions
- Has an endpoint to show the user if the business is opening now or closed, with the custom messages:
- Open now
- Closed now
- Open, closing soon
- Closed, opening soon
- Uses GitActions to run linters and tests automatically
- Set the next environment variables inside of .env file in src/ dir:
DJANGO_SECRET_KEY
OPENAI_API_KEY
REDIS_USER
REDIS_PASSWORD
Set the next variables to use DM Recommendation Microservice:
DMREC_HOST
DMREC_CLIENT_ID
DMREC_CLIENT_SECRET
DMREC_USERNAME
DMREC_PASSWORD
- Inside your virtual environment:
pip install requirements/dev.txt
- Go to src/ dir and run:
python manage.py runserver
If you want to get better product recommendation in the details section:
- Run the following microservice:
- Enable this microservice in the dm/settings/base.py file