/Backorder

Backend for orders/invoices

Primary LanguagePython

Backorder

Backend for orders/invoices

Requirements

  • python 3.10
  • $ pip install -r ./requirements/base.txt

DB population

  • $ python ./src/manage.py migrate
  • $ python ./src/manage.py createsuperuser
  • $ python ./src/manage.py syncdata products.yaml

Run server

$ python ./src/manage.py runserver

Admin dashboard

Login to admin dashboard with superuser credentials

API endpoints

Visit Swagger

Tests

  • $ pip install -r ./requirements/dev.txt
  • $ PYTHONPATH=./src pytest