Skip to content

quangnguyen3499/apple-store

Repository files navigation

TODO

  • Apply invoice
  • Implement amount (remaining amount) field for order
  • Stripe: Payment with multi cards (select one)
  • Implement OrderItem (Cart is deleted when checking out)

e-commerce

1. Install docker & docker compose

2. Copy dev.env to local.env

3. Run docker-compose build

4. Run docker-compose up -d

5. Run docker-compose exec platform python manage.py migrate

6. Run docker-compose restart

7. Run docker-compose exec platform python manage.py createsuperuser

PAYMENT

Stripe usage in this project:

1. Create customer

2. Add payment details

3. Create payment

Stripe docs:

...

BROKER

RabbitMQ

Celery

Run beat

- celery -A platform_backend.mycelery beat -l INFO --scheduler django_celery_beat.schedulers:DatabaseScheduler

Run worker

- celery -A platform_backend.mycelery worker -l INFO --pool=solo

Run flower - monitoring tool

- celery -A platform_backend.mycelery flower -l INFO --scheduler django_celery_beat.schedulers:DatabaseScheduler

About

Django e-commerce backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages