{"id":27940485,"url":"https://github.com/ebrahimakbari/e-commerce","last_synced_at":"2026-05-05T19:33:14.198Z","repository":{"id":279482181,"uuid":"938790099","full_name":"Ebrahimakbari/E-commerce","owner":"Ebrahimakbari","description":"E-commerce website with Django, celery, bootstrap, Redis, Rabbitmq","archived":false,"fork":false,"pushed_at":"2025-05-09T11:15:30.000Z","size":392,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-11T18:26:00.987Z","etag":null,"topics":["bootstrap","celery","celerybeat","django","rabbitmq","redis"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Ebrahimakbari.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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-25T14:04:18.000Z","updated_at":"2025-05-09T11:15:33.000Z","dependencies_parsed_at":"2025-04-15T09:27:51.524Z","dependency_job_id":"a61d47b4-d3fb-488d-ad56-298c84c04f74","html_url":"https://github.com/Ebrahimakbari/E-commerce","commit_stats":null,"previous_names":["ebrahimakbari/e-commers","ebrahimakbari/e-commerce"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ebrahimakbari/E-commerce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ebrahimakbari%2FE-commerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ebrahimakbari%2FE-commerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ebrahimakbari%2FE-commerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ebrahimakbari%2FE-commerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ebrahimakbari","download_url":"https://codeload.github.com/Ebrahimakbari/E-commerce/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ebrahimakbari%2FE-commerce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32664996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bootstrap","celery","celerybeat","django","rabbitmq","redis"],"created_at":"2025-05-07T10:17:08.492Z","updated_at":"2026-05-05T19:33:14.179Z","avatar_url":"https://github.com/Ebrahimakbari.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## E-commerce Project\n\nThis Django-based E-commerce project is designed to provide a robust and scalable online shopping platform. The project leverages various Django applications to manage user accounts, product listings, and order processing. It also utilizes Celery for asynchronous task management and integrates with AWS for storage solutions.\n\n### Table of Contents\n\n- [E-commerce Project](#e-commerce-project)\n  - [Table of Contents](#table-of-contents)\n- [Project Overview](#project-overview)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Applications](#applications)\n  - [Accounts](#accounts)\n  - [Home](#home)\n  - [Orders](#orders)\n  - [Core](#core)\n- [Dependencies](#dependencies)\n- [Dockerization](#dockerization)\n- [How to Contribute](#how-to-contribute)\n\n## Project Overview\n\nThis Django-based E-commerce project is designed to provide a robust and scalable online shopping platform. The project leverages various Django applications to manage user accounts, product listings, and order processing. It also utilizes Celery for asynchronous task management and integrates with AWS for storage solutions.\n\n## Installation\n\n1. Clone the repository to your local machine:\n   ```bash\n   git clone /home/ebrahim/Desktop/projects/django/E-commers\n   ```\n2. Navigate to the project directory:\n   ```bash\n   cd E-commers\n   ```\n3. Install the required dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n4. Set up the database and migrate:\n   ```bash\n   python manage.py migrate\n   ```\n5. Create a superuser (optional):\n   ```bash\n   python manage.py createsuperuser\n   ```\n6. Run the development server:\n   ```bash\n   python manage.py runserver\n   ```\n\n## Usage\n\n- Access the admin panel at `/admin` and log in with the superuser credentials to manage the site.\n- Use the Django shell for testing and managing the application:\n  ```bash\n  python manage.py shell\n  ```\n\n## Applications\n\n### Accounts\n\nManages user authentication, registration, and profile management. Key files include:\n- `models.py`: Defines the `CustomUser` model and `OTP` model.\n- `views.py`: Handles user registration, login, and profile views.\n- `urls.py`: Routes for account-related pages.\n- `management/commands/delete_expired_otps.py`: Custom management command to delete expired OTPs.\n\n### Home\n\nHandles the main website functionality, including product listings and category management. Key files include:\n- `models.py`: Defines `Product`, `Category`, and related models.\n- `views.py`: Manages product and category views.\n- `urls.py`: Routes for the home and product pages.\n\n### Orders\n\nManages shopping carts, orders, and coupon applications. Key files include:\n- `cart.py`: Manages cart operations.\n- `models.py`: Defines `Order`, `OrderItem`, `Coupon`, and related models.\n- `views.py`: Handles order processing and coupon application.\n- `urls.py`: Routes for order and cart pages.\n\n### Core\n\nContains the main settings and configurations for the Django project. Key files include:\n- `settings.py`: Django settings configuration.\n- `urls.py`: Main URL routing for the project.\n- `celery_conf.py`: Celery configuration for asynchronous tasks.\n\n## Dependencies\n\nThe project requires several Python packages, listed in `requirements.txt`:\n- Django: Web framework for building the project.\n- Celery: Asynchronous task queue/job queue.\n- Django-Celery-Beat: Periodic task scheduler for Celery.\n- AWS SDKs: For integrating with AWS services like S3 for storage.\n- Other various libraries for handling tasks like image processing, database interactions, etc.\n\n## Dockerization\n\nThis project can be containerized using Docker. The `docker-compose.yml` file defines the services required to run the project:\n\n- `web`: The Django application.\n- `db`: The PostgreSQL database.\n- `rabbitmq`: The message broker for Celery.\n- `celery`: The Celery worker for asynchronous tasks.\n- `redis`: The in-memory data store used by Celery.\n\nTo build and run the project using Docker Compose, follow these steps:\n\n1. Ensure Docker is installed on your machine.\n2. Build the Docker images and start the services:\n   ```bash\n   docker-compose up --build\n   ```\n3. Access the application at `http://localhost:8000`.\n\n## How to Contribute\n\nContributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature/AmazingFeature`).\n3. Commit your changes (`git commit -m \u0026#39;Add some AmazingFeature\u0026#39;`).\n4. Push to the branch (`git push origin feature/AmazingFeature`).\n5. Open a Pull Request.\n\nPlease note that this `README.md` is based on the provided project structure and files. You may need to adjust the content to accurately reflect the specific setup and structure of your project.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febrahimakbari%2Fe-commerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febrahimakbari%2Fe-commerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febrahimakbari%2Fe-commerce/lists"}