{"id":23674566,"url":"https://github.com/alvyynm/ecom","last_synced_at":"2026-04-02T03:10:49.781Z","repository":{"id":266957748,"uuid":"890726610","full_name":"alvyynm/ecom","owner":"alvyynm","description":"A Django-powered e-commerce shop with payment processing via Stripe, asynchronous task processing using Celery, RabbitMQ message broker, Redis for recommendations, Docker with Docker Compose for deployment, and PostgreSQL db.","archived":false,"fork":false,"pushed_at":"2024-12-17T15:00:53.000Z","size":552,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-21T10:49:27.191Z","etag":null,"topics":["celery","django","django-admin","docker","docker-compose","nginx","postgresql","rabbitmq","redis"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alvyynm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2024-11-19T04:24:55.000Z","updated_at":"2024-12-17T14:58:58.000Z","dependencies_parsed_at":"2025-02-19T17:54:36.343Z","dependency_job_id":null,"html_url":"https://github.com/alvyynm/ecom","commit_stats":null,"previous_names":["alvyynm/ecom"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alvyynm/ecom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvyynm%2Fecom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvyynm%2Fecom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvyynm%2Fecom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvyynm%2Fecom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alvyynm","download_url":"https://codeload.github.com/alvyynm/ecom/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvyynm%2Fecom/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294904,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"online","status_checked_at":"2026-04-02T02:00:08.535Z","response_time":89,"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":["celery","django","django-admin","docker","docker-compose","nginx","postgresql","rabbitmq","redis"],"created_at":"2024-12-29T13:27:36.312Z","updated_at":"2026-04-02T03:10:49.759Z","avatar_url":"https://github.com/alvyynm.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cp align=\"center\"\u003e\n      \u003cimg src=\"log.webp\" alt=\"Djangocom\" height=\"72\"\u003e\n  \u003c/p\u003e\n  \u003ch1 align=\"center\"\u003e\n    Django Ecommerce Shop\n  \u003c/h1\u003e\n  \u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Python-FFD43B?style=for-the-badge\u0026logo=python\u0026logoColor=blue\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Django-092E20?style=for-the-badge\u0026logo=django\u0026logoColor=green\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Docker-2CA5E0?style=for-the-badge\u0026logo=docker\u0026logoColor=white\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/rabbitmq-%23FF6600.svg?\u0026style=for-the-badge\u0026logo=rabbitmq\u0026logoColor=white\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/redis-%23DD0031.svg?\u0026style=for-the-badge\u0026logo=redis\u0026logoColor=white\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Stripe-626CD9?style=for-the-badge\u0026logo=Stripe\u0026logoColor=white\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Nginx-009639?style=for-the-badge\u0026logo=nginx\u0026logoColor=white\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/PostgreSQL-316192?style=for-the-badge\u0026logo=postgresql\u0026logoColor=white\"\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eA full-stack online shop built with Django with payments, coupons, and discounts.\u003c/p\u003e\n\n## Key features\n- Authentication is done using Django's built-in authentication module for authentication but extended to allow email and password authentication.\n- Payments with Stripe, with webhooks used to verify the payment status\n- Sending order and payment confirmation messages asynchronously with RabbitMQ and Celery. Celery is used as the task processor and RabbitMQ as the message broker.\n- Product recommendations for products frequently bought together. This is implemented using Redis.\n- Both logged in and anonymous (unauthenticated users) can place orders\n\n## Quick Project Demo\n\n## Tech Stack:\n- Django\n- PostgreSQL database\n- Celery for processing tasks asynchronously\n- RabbitMQ as a message broker\n- Stripe for payment processing\n- Redis for product recommendations\n- Nginx as 1) a reverse proxy (sitting in front of your uWSGI application server) and 2) a static file server for serving static files directly instead of the slow Django server\n- Docker for containerization and Docker Compose to manage the multi-container setup\n\n## How to run\n\nFor development:\n```bash\ndocker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d\n```\nFor production:\n```bash\ndocker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d\n```\nNB: You need to specify `.env.dev` for development and `.env.prod` for production at the root\n\n\n## Building a multi-architecture image\n1. Enable BuildKit:\n   ```bash\n   export DOCKER_BUILDKIT=1\n   ```\n2. Create a new builder:\n   ```bash\n   docker buildx create --name mybuilder --use\n   ```\n   NB: You can remove the builder by running the following command:\n   ```bash\n   docker buildx rm mybuilder\n   ```\n3. Build and push the image:\n   ```bash\n   docker buildx build --platform linux/amd64,linux/arm64 -t [dockerhubusername]/[dockerhubimagename]:[tag] --push .\n   ```\n   Example:\n   ```bash\n   docker buildx build --platform linux/amd64,linux/arm64 -t rasterzoo/ecom:v0.0.3 --push .\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvyynm%2Fecom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falvyynm%2Fecom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvyynm%2Fecom/lists"}