├── .dockerignore ├── .github └── workflows │ └── build-container.yaml ├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── package.json ├── rav.yaml ├── src ├── cfehome │ ├── __init__.py │ ├── asgi.py │ ├── context_processors.py │ ├── db.py │ ├── env.py │ ├── settings.py │ ├── storages │ │ ├── __init__.py │ │ ├── backends.py │ │ ├── conf.py │ │ └── utils.py │ ├── urls.py │ ├── views.py │ └── wsgi.py ├── config │ └── entrypoint.sh ├── manage.py ├── products │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── fixtures │ │ └── products.json │ ├── forms.py │ ├── images │ │ ├── laptop_case_3.png │ │ ├── smartphone_case_1.png │ │ └── smartphone_case_2.png │ ├── management │ │ ├── __init__.py │ │ └── commands │ │ │ ├── __init__.py │ │ │ └── create_admin_user.py │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_product_image.py │ │ ├── 0003_productattachment.py │ │ ├── 0004_productattachment_name.py │ │ ├── 0005_product_stripe_price_id_product_stripe_product_id.py │ │ └── __init__.py │ ├── models.py │ ├── tests.py │ ├── urls.py │ ├── utils.py │ └── views.py ├── purchases │ ├── __init__.py │ ├── admin.py │ ├── apps.py │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_purchase_stripe_checkout_session_id.py │ │ └── __init__.py │ ├── models.py │ ├── tests.py │ ├── urls.py │ └── views.py ├── requirements.txt ├── requirements │ └── requirements.in ├── static │ ├── css │ │ └── output.css │ ├── tailwind │ │ └── tailwind-input.css │ └── vendor │ │ ├── flowbite │ │ └── flowbite.min.js │ │ └── htmx │ │ └── htmx.min.js └── templates │ ├── base.html │ ├── base │ ├── css.html │ ├── footer.html │ ├── js.html │ └── navbar.html │ ├── home.html │ ├── products │ ├── attachments-table.html │ ├── create.html │ ├── detail.html │ ├── list-card.html │ ├── list.html │ └── manager.html │ └── purchases │ └── buy-btn-form.html └── tailwind.config.js /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/workflows/build-container.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/.github/workflows/build-container.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/package.json -------------------------------------------------------------------------------- /rav.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/rav.yaml -------------------------------------------------------------------------------- /src/cfehome/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/cfehome/asgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/cfehome/asgi.py -------------------------------------------------------------------------------- /src/cfehome/context_processors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/cfehome/context_processors.py -------------------------------------------------------------------------------- /src/cfehome/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/cfehome/db.py -------------------------------------------------------------------------------- /src/cfehome/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/cfehome/env.py -------------------------------------------------------------------------------- /src/cfehome/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/cfehome/settings.py -------------------------------------------------------------------------------- /src/cfehome/storages/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/cfehome/storages/backends.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/cfehome/storages/backends.py -------------------------------------------------------------------------------- /src/cfehome/storages/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/cfehome/storages/conf.py -------------------------------------------------------------------------------- /src/cfehome/storages/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/cfehome/storages/utils.py -------------------------------------------------------------------------------- /src/cfehome/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/cfehome/urls.py -------------------------------------------------------------------------------- /src/cfehome/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/cfehome/views.py -------------------------------------------------------------------------------- /src/cfehome/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/cfehome/wsgi.py -------------------------------------------------------------------------------- /src/config/entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/config/entrypoint.sh -------------------------------------------------------------------------------- /src/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/manage.py -------------------------------------------------------------------------------- /src/products/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/products/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/admin.py -------------------------------------------------------------------------------- /src/products/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/apps.py -------------------------------------------------------------------------------- /src/products/fixtures/products.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/fixtures/products.json -------------------------------------------------------------------------------- /src/products/forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/forms.py -------------------------------------------------------------------------------- /src/products/images/laptop_case_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/images/laptop_case_3.png -------------------------------------------------------------------------------- /src/products/images/smartphone_case_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/images/smartphone_case_1.png -------------------------------------------------------------------------------- /src/products/images/smartphone_case_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/images/smartphone_case_2.png -------------------------------------------------------------------------------- /src/products/management/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/products/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/products/management/commands/create_admin_user.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/management/commands/create_admin_user.py -------------------------------------------------------------------------------- /src/products/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/migrations/0001_initial.py -------------------------------------------------------------------------------- /src/products/migrations/0002_product_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/migrations/0002_product_image.py -------------------------------------------------------------------------------- /src/products/migrations/0003_productattachment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/migrations/0003_productattachment.py -------------------------------------------------------------------------------- /src/products/migrations/0004_productattachment_name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/migrations/0004_productattachment_name.py -------------------------------------------------------------------------------- /src/products/migrations/0005_product_stripe_price_id_product_stripe_product_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/migrations/0005_product_stripe_price_id_product_stripe_product_id.py -------------------------------------------------------------------------------- /src/products/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/products/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/models.py -------------------------------------------------------------------------------- /src/products/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/tests.py -------------------------------------------------------------------------------- /src/products/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/urls.py -------------------------------------------------------------------------------- /src/products/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/utils.py -------------------------------------------------------------------------------- /src/products/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/products/views.py -------------------------------------------------------------------------------- /src/purchases/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/purchases/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/purchases/admin.py -------------------------------------------------------------------------------- /src/purchases/apps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/purchases/apps.py -------------------------------------------------------------------------------- /src/purchases/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/purchases/migrations/0001_initial.py -------------------------------------------------------------------------------- /src/purchases/migrations/0002_purchase_stripe_checkout_session_id.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/purchases/migrations/0002_purchase_stripe_checkout_session_id.py -------------------------------------------------------------------------------- /src/purchases/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/purchases/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/purchases/models.py -------------------------------------------------------------------------------- /src/purchases/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/purchases/tests.py -------------------------------------------------------------------------------- /src/purchases/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/purchases/urls.py -------------------------------------------------------------------------------- /src/purchases/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/purchases/views.py -------------------------------------------------------------------------------- /src/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/requirements.txt -------------------------------------------------------------------------------- /src/requirements/requirements.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/requirements/requirements.in -------------------------------------------------------------------------------- /src/static/css/output.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/static/css/output.css -------------------------------------------------------------------------------- /src/static/tailwind/tailwind-input.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/static/tailwind/tailwind-input.css -------------------------------------------------------------------------------- /src/static/vendor/flowbite/flowbite.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/static/vendor/flowbite/flowbite.min.js -------------------------------------------------------------------------------- /src/static/vendor/htmx/htmx.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/static/vendor/htmx/htmx.min.js -------------------------------------------------------------------------------- /src/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/templates/base.html -------------------------------------------------------------------------------- /src/templates/base/css.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/templates/base/css.html -------------------------------------------------------------------------------- /src/templates/base/footer.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/templates/base/footer.html -------------------------------------------------------------------------------- /src/templates/base/js.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/templates/base/js.html -------------------------------------------------------------------------------- /src/templates/base/navbar.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/templates/base/navbar.html -------------------------------------------------------------------------------- /src/templates/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/templates/home.html -------------------------------------------------------------------------------- /src/templates/products/attachments-table.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/templates/products/attachments-table.html -------------------------------------------------------------------------------- /src/templates/products/create.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/templates/products/create.html -------------------------------------------------------------------------------- /src/templates/products/detail.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/templates/products/detail.html -------------------------------------------------------------------------------- /src/templates/products/list-card.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/templates/products/list-card.html -------------------------------------------------------------------------------- /src/templates/products/list.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/templates/products/list.html -------------------------------------------------------------------------------- /src/templates/products/manager.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/templates/products/manager.html -------------------------------------------------------------------------------- /src/templates/purchases/buy-btn-form.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/src/templates/purchases/buy-btn-form.html -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingforentrepreneurs/micro-ecommerce/HEAD/tailwind.config.js --------------------------------------------------------------------------------