- permission classes
- brand dashboard apis
- discount codes list
- filter on discount fields (user, redeemed, ...)
- schema and models unit tests
docker-compose upDocumentation URL: http://localhost:8080/docs
docker-compose downdocker-compose run app bash scripts/run_tests.shTo run the server: ./scripts/local_server.sh
To run the test: ./scripts/run_tests.sh
Run migrations
alembic upgrade headAutogenerate migration
Alembic can autogenerate the migration file by comparing your SQLAlchemy models and the migration files!
alembic revision --autogenerate -m "description of migration"