Simple REST API for shopping cart implemented in Django & DRF. For frontend part visit shopping-cart-frontend
This app is using Docker so make sure you have both: Docker and Docker Compose
To bootstrap the app move to the app directory and call
make build
make bootstrap
Once it's done the app should be up app and running. You can verify that visiting http://127.0.0.1:8000/.
Next time you want to start or stop the the app use up
or down
command.
make up
make down
Test users created during bootstrapping the project.
Login | Password | Role |
---|---|---|
admin@test.com | password | admin |
user@test.com | password | user |
To run the tests use make test
command
- Adding/Removing products to/from basket
- Adding/Removing product by admins
- Sharing basket by email
- Sending email with list of updated baskets to admins (triggered by
cart_changes
command)