{"id":18662203,"url":"https://github.com/bsperezb/django-ecomerce","last_synced_at":"2026-04-12T18:42:32.429Z","repository":{"id":38215674,"uuid":"402090093","full_name":"bsperezb/Django-Ecomerce","owner":"bsperezb","description":"Ecomerce website developed with Django and Postgresql","archived":false,"fork":false,"pushed_at":"2023-09-04T21:49:13.000Z","size":4222,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T16:33:10.444Z","etag":null,"topics":["celery","django","docker-compose","html","redis","wompi"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bsperezb.png","metadata":{"files":{"readme":"README.rst","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":"2021-09-01T14:25:46.000Z","updated_at":"2024-10-29T06:06:59.000Z","dependencies_parsed_at":"2024-12-27T16:39:27.138Z","dependency_job_id":null,"html_url":"https://github.com/bsperezb/Django-Ecomerce","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.052631578947368474","last_synced_commit":"f061798fd6528997ec7c1874ab0a5bdec03137c6"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsperezb%2FDjango-Ecomerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsperezb%2FDjango-Ecomerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsperezb%2FDjango-Ecomerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsperezb%2FDjango-Ecomerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bsperezb","download_url":"https://codeload.github.com/bsperezb/Django-Ecomerce/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239484215,"owners_count":19646429,"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","django","docker-compose","html","redis","wompi"],"created_at":"2024-11-07T08:10:39.804Z","updated_at":"2025-11-06T06:30:20.937Z","avatar_url":"https://github.com/bsperezb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Shop e-Comerce\n====\n.. image:: https://img.shields.io/badge/built%20with-Cookiecutter%20Django-ff69b4.svg?logo=cookiecutter\n     :target: https://github.com/pydanny/cookiecutter-django/\n     :alt: Built with Cookiecutter Django\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n     :target: https://github.com/ambv/black\n     :alt: Black code style\n\n\n.. image:: https://github.com/bsperezb/Django-Ecomerce/blob/main/gif_portada.gif\n\n\n:License: MIT\n====\n\n\n\n**Hi, welcome to my eComerce website Project.**\n\nThis project was developed with Python 3.9, Django 3.1.13, Postgresql 12.6, Wompi and CookieCutter.\n\nIn this project you can add items to the store as administrator, manage user accounts, make and edit orders of different quantities of products, make online payments with Wompi and manage refunds\n\n\n\nRunning project local with docker (option 1)\n--------------\nThis project can be used immediately with docker and docker compose.\n\n\nPrerequisites\n^^^^^^^^^^^^^^^^^^^^^\n\n* Docker; if you don’t have it yet, follow the installation instructions_.\n.. _instructions: https://docs.docker.com/get-docker/;\n\n* Docker Compose; refer to the official documentation_ for the installation guide.\n.. _documentation: https://docs.docker.com/get-docker/;\n\n* Pre-commit (optional); refer to the official documentation for the installation guide_.\n.. _guide: https://pre-commit.com/\n\n\n\nBuild the stack\n^^^^^^^^^^^^^^^^^^^^^\n\nThis can take a while, especially the first time you run this particular command on your development system:\n::\n\n    $ docker-compose -f local.yml build\n\nRun the stack\n^^^^^^^^^^^^^^^^^^^^^\n\nThis brings up both Django and PostgreSQL. The first time it is run it might take a while to get started, but subsequent runs will occur quickly.\n\nOpen a terminal at the project root and run the following for local development:\n::\n\n    $ docker-compose -f local.yml up\n\nExecute Management Commands\n^^^^^^^^^^^^^^^^^^^^^\n\nAs with any shell command that we wish to run in our container, this is done using the ``docker-compose -f local.yml run --rm command`` :\n::\n\n    $ docker-compose -f local.yml run --rm django python manage.py migrate\n\n    $ docker-compose -f local.yml run --rm django python manage.py createsuperuser\n\n\nRunning locally (option 2)\n--------------\n\nPrerequisites\n^^^^^^^^^^^^^^^^^^^^^\n\n* Python 3.9\n\n* Postgresql 12.6\n\ninstalls and activates dependencies\n^^^^^^^^^^^^^^^^^^^^^\n\nCreate a virtual enviroment:\n::\n    $ python3.9 -m venv \u003cvirtual env path\u003e\n\nActivate the virtual enviroment:\n::\n    $ source \u003cvirtual env path\u003e/bin/activate\n\nInstall development requirements:\n::\n    $ cd \u003cwhat you have entered as the project_slug at setup stage\u003e\n\n    $ pip install -r requirements/local.txt\n\n    $ pip install -r requirements/base.txt\n\n    $ pip install -r requirements/production.txt\n\n\nDatabase configuration\n^^^^^^^^^^^^^^^^^^^^^\n\nCreate a new PostgreSQL database using createdb, where **shop** is the database name and **\u003cpassword\u003e** is the password of your postgres account:\n::\n    $ createdb shop -U postgres --password \u003cpassword\u003e\n\nApply migrations and create super user:\n::\n    $ python manage.py migrate\n    $ python manage.py createsuperuser\n\nRun:\n::\n    $ python manage.py runserver\n\n\nUse the App\n--------------\n\nTo create a **normal user account**, just go to Sign Up and fill out the form. Once you submit it, you'll see a \"Verify Your E-mail Address\" page. Go to your console to see a simulated email verification message. Copy the link into your browser. Now the user's email should be verified and ready to go.\n\nFor convenience, you can keep your normal user logged in on Chrome and your superuser logged in on Firefox (or similar), so that you can see how the site behaves for both kinds of users.\n\nyou can add, delete and update store items. The sing in admin page is at the following link: https://localhost/admin/\n\nWompi is the payment method chosen for the project, it was configured in sandbox mode. To make payments choose any method offered by the documentation page_.\n\n.. _page: https://docs.wompi.co/docs/en/datos-de-prueba-en-sandbox;\n\n\nSettings\n--------\nThe file with enviroment files was saved by default, if you need to config a enviroment variables go to ``.env/``. For more details : click-me_.\n\n\n.. _click-me: http://cookiecutter-django.readthedocs.io/en/latest/settings.html\n\n\nType checks\n^^^^^^^^^^^\n\nRunning type checks with mypy:\n\n::\n\n  $ mypy shop\n\nTest coverage\n^^^^^^^^^^^^^\n\nTo run the tests, check your test coverage, and generate an HTML coverage report::\n\n    $ coverage run -m pytest\n    $ coverage html\n    $ open htmlcov/index.html\n\nRunning tests with py.test\n~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n  $ pytest\n\nLive reloading and Sass CSS compilation\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n\nMoved to `Live reloading and SASS compilation`_.\n\n.. _`Live reloading and SASS compilation`: http://cookiecutter-django.readthedocs.io/en/latest/live-reloading-and-sass-compilation.html\n\nMore information to Deploymentment\n----------\n\nDocker\n^^^^^^\n\nSee detailed `cookiecutter-django Docker documentation`_.\n\n.. _`cookiecutter-django Docker documentation`: http://cookiecutter-django.readthedocs.io/en/latest/deployment-with-docker.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsperezb%2Fdjango-ecomerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbsperezb%2Fdjango-ecomerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsperezb%2Fdjango-ecomerce/lists"}