{"id":22399798,"url":"https://github.com/mrkazzila/mini_online_store","last_synced_at":"2025-07-31T14:32:15.868Z","repository":{"id":133102361,"uuid":"586999219","full_name":"mrKazzila/mini_online_store","owner":"mrKazzila","description":"Stepik course. Mini e-commerce shop using django3","archived":false,"fork":false,"pushed_at":"2024-07-27T17:09:50.000Z","size":14009,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-27T18:35:25.126Z","etag":null,"topics":["celery","course","django","docker","docker-compose","nginx","poetry","postgresql","python3","redis","stepik"],"latest_commit_sha":null,"homepage":"https://mrkazzila.github.io/mini_online_store/","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/mrKazzila.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}},"created_at":"2023-01-09T18:16:53.000Z","updated_at":"2023-12-18T07:18:40.000Z","dependencies_parsed_at":"2023-05-28T10:31:13.725Z","dependency_job_id":"5410d02b-4ef6-4370-82f0-81e21aff8f78","html_url":"https://github.com/mrKazzila/mini_online_store","commit_stats":null,"previous_names":["mrkazzila/mini_online_store"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrKazzila%2Fmini_online_store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrKazzila%2Fmini_online_store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrKazzila%2Fmini_online_store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrKazzila%2Fmini_online_store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrKazzila","download_url":"https://codeload.github.com/mrKazzila/mini_online_store/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228257629,"owners_count":17892651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","course","django","docker","docker-compose","nginx","poetry","postgresql","python3","redis","stepik"],"created_at":"2024-12-05T08:10:03.488Z","updated_at":"2024-12-05T08:10:04.180Z","avatar_url":"https://github.com/mrKazzila.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://stepik.org/course/125859/info\"\u003e\n    \u003cimg src=\"readme/stepik.jpeg\"\n    alt=\"Stepik\" width=\"200\"\u003e\n  \u003c/a\u003e\n  \u003cbr\u003e\n  Store\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e\n    Store shop. The project for study Django\n    \u003cbr\u003e\n    \u003ca href=\"https://stepik.org/course/125859/info\" target=\"_blank\"\u003e\n      Stepik | Backend development on Django: from scratch to a specialist\n    \u003c/a\u003e\n   \u003cbr\u003e\n    ❗Note: Project not supported❗\n\u003c/h4\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits\u0026logoColor=white)](https://conventionalcommits.org)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)\n[![Stepik](https://img.shields.io/badge/stepik-course-green)](https://stepik.org/course/101042/info)\n \u003cbr\u003e\n[![Builde Status](https://github.com/mrKazzila/mini_online_store/actions/workflows/basic_code_style_checks.yml/badge.svg?)](https://github.com/mrKazzila/mini_online_store/actions/workflows/basic_code_style_checks.yml)\n\n\u003c/div\u003e\n\u003chr\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#features\"\u003eFeatures\u003c/a\u003e •\n  \u003ca href=\"#tech-stack\"\u003eTech stack\u003c/a\u003e •\n  \u003ca href=\"#how-to-use\"\u003eHow To Use\u003c/a\u003e •\n  \u003ca href=\"#additional-material\"\u003eAdditional material\u003c/a\u003e •\n  \u003ca href=\"https://mrkazzila.github.io/mini_online_store/\"\u003eGitHub Pages\u003c/a\u003e\n\u003c/p\u003e\n\n\n## Features\n* Registration new user\n  - Verification with e-mail\n* Authorisation\n  - Also, authorisation with GitHub account\n* Change profile settings\n* Add goods into cart\n* Fake buying\n* History orders\n\n\n## Tech stack\n- [Django 3](https://www.djangoproject.com/)\n- [PostgreSQL](https://www.postgresql.org/)\n- [Sprite](https://stripe.com/)\n- [Redis](https://redis.io/)\n- [Celery](https://docs.celeryq.dev/en/stable/index.html)\n\n\n## How To Use\nTo clone and run this project, you'll need:\n- [Git](https://git-scm.com)\n- [Python](https://www.python.org/downloads/)\n- [Poetry](https://python-poetry.org/docs/#installation)\n\nStep-by-step commands or use [Docker](readme/DOCKER.md)\n\u003cdetails\u003e\n\u003csummary\u003ecommands\u003c/summary\u003e\n\n1. Firstly clone repo\n   ```bash\n   git clone git@github.com:mrKazzila/mini_online_store.git\n   ```\n\n2. Copy an example .env file because the real one is git ignored\n   ```bash\n   cp env/.env.example env/.env.project\n   ```\n\n3. Add env file for db\n   ```bash\n   touch env/.env.db \u0026\u0026 echo -e \\\n   \"POSTGRES_DB=store_db\\nPOSTGRES_USER=store_username\\nPOSTGRES_PASSWORD=store_password\" \u003e env/.env.db\n   ```\n\n4. Settings Poetry\n   ```bash\n   poetry config virtualenvs.in-project true\n   ```\n\n5. Activate venv\n   ```bash\n   poetry shell\n   ```\n\n6. Install packages\n   ```bash\n   poetry install\n   ```\n\n7. Install pre-commit\n    ```bash\n    pre-commit install\n    ```\n\n8. Move to app dir\n    ```bash\n   cd app\n    ```\n\n9. Run project dependencies, migrations, fill the database with the fixture data etc\n   ```bash\n   python manage.py migrate\n   python manage.py loaddata \u003cpath_to_fixture_files\u003e\n   python manage.py runserver\n   ```\n\n10. Run [Redis Server](https://redis.io/docs/getting-started/installation/)\n    ```bash\n    redis-server\n    ```\n\n11. Run Celery\n    ```bash\n    celery -A config worker --loglevel=INFO\n    ```\n\n12. Test purchase webhook\n     ```bash\n     stripe listen --forward-to 127.0.0.1:8000/webhook/stripe/\n     ```\n\n13. Start yapf (manual)\n    ```bash\n    yapf --style=.style.yapf -ir -vv app/\n    ```\n\n14. Start pre-commit (manual)\n    ```bash\n    pre-commit run --all-files\n    ```\n\n15. Start bandit (manual)\n    ```bash\n    bandit -c style/bandit.yaml -r app/ -f json -o bandit_report.json\n    ```\n\n\u003c/details\u003e\n\n\n## Additional material\n\n[how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-22-04](https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-22-04#further-troubleshooting)\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/mrKazzila\"\u003eGitHub\u003c/a\u003e •\n  \u003ca href=\"https://mrkazzila.github.io/resume/\"\u003eResume\u003c/a\u003e •\n  \u003ca href=\"https://www.linkedin.com/in/i-kazakov/\"\u003eLinkedIn\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrkazzila%2Fmini_online_store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrkazzila%2Fmini_online_store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrkazzila%2Fmini_online_store/lists"}