{"id":28281417,"url":"https://github.com/alejandrosoares/dm","last_synced_at":"2026-04-18T04:33:51.454Z","repository":{"id":37911866,"uuid":"444411495","full_name":"alejandrosoares/DM","owner":"alejandrosoares","description":"Web catalog with optimization techniques on both the front end side and back side.","archived":false,"fork":false,"pushed_at":"2024-04-21T17:12:40.000Z","size":18667,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-16T23:36:45.535Z","etag":null,"topics":["chatgpt","django","django-rest-framework","github-actions","javascript","oauth2","optimization","python","rest-api"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alejandrosoares.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-01-04T12:31:03.000Z","updated_at":"2025-03-25T08:24:13.000Z","dependencies_parsed_at":"2024-04-21T19:26:16.469Z","dependency_job_id":null,"html_url":"https://github.com/alejandrosoares/DM","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alejandrosoares/DM","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrosoares%2FDM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrosoares%2FDM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrosoares%2FDM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrosoares%2FDM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alejandrosoares","download_url":"https://codeload.github.com/alejandrosoares/DM/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejandrosoares%2FDM/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31957046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatgpt","django","django-rest-framework","github-actions","javascript","oauth2","optimization","python","rest-api"],"created_at":"2025-05-21T11:17:33.117Z","updated_at":"2026-04-18T04:33:51.447Z","avatar_url":"https://github.com/alejandrosoares.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DM - Product Catalog\n\nIntroducing our cutting-edge Product Catalog, a seamless blend of technology and customer-centric innovation. Elevate your business with features that go beyond the ordinary\n\n\n## Features\n\n### Product Recommendation Microservice\n* Uses an own microservice [dm-recommendations](https://github.com/alejandrosoares/dm-recommendations) to obtain recommended products and improve the user experience\n\n### Optimization\n* Converts images to WEBP\n* Resizes images according to screen size\n* Applies some frontend techniques to improve performance\n* Applies cache with redis\n* Has a product search and pagination\n\n### Chat\n* Has implements real-time chat with Django channels\n* Has ChatGPT implemented to answer some frequently asked questions\n\n### Opening hours\n* Has an endpoint to show the user if the business is opening now or closed, with the custom messages:\n- Open now\n- Closed now\n- Open, closing soon\n- Closed, opening soon\n\n## CI\n* Uses GitActions to run linters and tests automatically\n\n\n\n## Installation\n\n1. Set the next environment variables inside of .env file in ***src/*** dir:\n```\n    DJANGO_SECRET_KEY\n    OPENAI_API_KEY\n    REDIS_USER\n    REDIS_PASSWORD\n```\n\nSet the next variables to use DM Recommendation Microservice:\n```\n    DMREC_HOST\n    DMREC_CLIENT_ID\n    DMREC_CLIENT_SECRET\n    DMREC_USERNAME\n    DMREC_PASSWORD\n```\n\n2. Inside your virtual environment:\n```\n    pip install requirements/dev.txt\n```\n\n3. Go to ***src/*** dir and run:\n```\n    python manage.py runserver\n```\n\n\n## Microservices\n\n### Product recommendation\nIf you want to get better product recommendation in the details section:\n1. Run the following microservice:\n* [dm-recommendations](https://github.com/alejandrosoares/dm-recommendations)\n2. Enable this microservice in the dm/settings/base.py file\n\n\n## Screenshots\n![Search](https://user-images.githubusercontent.com/48335948/277250835-24b43490-1e7f-4e86-9a75-459f5edfbac7.png)\n![Opening Hours](https://user-images.githubusercontent.com/48335948/277250843-23c8b6f3-3bf6-4804-a09c-4991903d6636.png)\n![Product Detail and recommendations](https://user-images.githubusercontent.com/48335948/277250845-adb42a65-2b78-4cda-923e-408c3e3f05d4.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandrosoares%2Fdm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falejandrosoares%2Fdm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejandrosoares%2Fdm/lists"}