Skip to content

alejandrosoares/DM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DM - Product Catalog

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

Features

Product Recommendation Microservice

  • Uses an own microservice dm-recommendations to obtain recommended products and improve the user experience

Optimization

  • 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

Chat

  • Has implements real-time chat with Django channels
  • Has ChatGPT implemented to answer some frequently asked questions

Opening hours

  • 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

CI

  • Uses GitActions to run linters and tests automatically

Installation

  1. 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
  1. Inside your virtual environment:
    pip install requirements/dev.txt
  1. Go to src/ dir and run:
    python manage.py runserver

Microservices

Product recommendation

If you want to get better product recommendation in the details section:

  1. Run the following microservice:
  1. Enable this microservice in the dm/settings/base.py file

Screenshots

Search Opening Hours Product Detail and recommendations

About

Web catalog with optimization techniques on both the front end side and back side.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published