{"id":23659723,"url":"https://github.com/alotab/storefront","last_synced_at":"2026-05-08T17:36:46.448Z","repository":{"id":270164404,"uuid":"909385927","full_name":"Alotab/storefront","owner":"Alotab","description":"This is a Django-based eCommerce API built on top of the Django Rest Framework (DRF). The project includes user management, JWT authentication using Djoser, background task processing with Celery, and Redis as the cache and message broker.","archived":false,"fork":false,"pushed_at":"2025-03-12T22:15:39.000Z","size":579,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-20T15:09:28.057Z","etag":null,"topics":["celery","celery-beat","celery-redis","django","django-rest-framework","djangorestframework-simplejwt","ecommerce","ecommerce-application","redis","redis-cache","rest-api"],"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/Alotab.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}},"created_at":"2024-12-28T14:49:37.000Z","updated_at":"2025-03-12T22:15:42.000Z","dependencies_parsed_at":"2025-01-04T12:30:53.573Z","dependency_job_id":"7680647d-4f9b-4f18-bb85-a50defb3eab9","html_url":"https://github.com/Alotab/storefront","commit_stats":null,"previous_names":["alotab/storefront"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Alotab/storefront","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alotab%2Fstorefront","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alotab%2Fstorefront/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alotab%2Fstorefront/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alotab%2Fstorefront/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Alotab","download_url":"https://codeload.github.com/Alotab/storefront/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Alotab%2Fstorefront/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32790732,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["celery","celery-beat","celery-redis","django","django-rest-framework","djangorestframework-simplejwt","ecommerce","ecommerce-application","redis","redis-cache","rest-api"],"created_at":"2024-12-29T02:56:26.985Z","updated_at":"2026-05-08T17:36:46.440Z","avatar_url":"https://github.com/Alotab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django E-Commerce API with JWT Authentication, Celery, and Redis\nThis is a Django-based eCommerce API built on top of the Django Rest Framework (DRF). The project includes user management, JWT authentication using Djoser, background task processing with Celery, and Redis as the cache and message broker. The API is designed to handle the typical operations of an e-commerce platform, including product management, order handling, and more.\n\n## Features\n* User registration, login, and JWT authentication with Djoser and JWT tokens.\n* Permissions and custom permissions on specific API endpoints, models, and users.\n* Background tasks management using Celery with Redis as the message broker.\n* Cache management with Redis for improved performance.\n* RESTful API using Django Rest Framework for eCommerce functionalities.\n\n## Setup and Configuration\n1. Clone the repository:\n   ```\n   git clone https://github.com/Alotab/storefront.git\n   cd storefront\n   ```\n2. Create and activate a virtual environment:\n   ```\n   python3 -m venv venv\n   source venv/bin/activate  # On Windows, use `venv\\Scripts\\activate`\n   ```\n3. Install the dependencies:\n   ```\n   pip install -r requirements.txt\n   ```\n4. Create .env file for sensitive settings (such as secret keys, database credentials, etc.):\n   ```\n   SECRET_KEY = ''\n   DATABASE_ENGINE = ''\n   DATABASE_USER = ''\n   DATABASE_NAME = ''\n   DATABASE_PORT = ''\n   DATABASE_HOST = ''\n   DATABASE_PASSWORD = ''\n   ```\n5. Run the migrations:\n   ```\n   python manage.py migrate\n   ```\n\n## Running the Application\n### Starting the Django Server\nTo run the Django development server:\n```\npython manage.py runserver\n```\nThis will start the server at http://127.0.0.1:8000/.\n\n### Running Celery\nTo start the Celery worker:\n```\ncelery -A storefront --loglevel=info\n```\n\nTo start Celery beat (for periodic tasks):\n```\ncelery -A storefront beat --loglevel=info\n```\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falotab%2Fstorefront","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falotab%2Fstorefront","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falotab%2Fstorefront/lists"}