Skip to content

dzbrozek/shopping-cart-backend

Repository files navigation

Shopping cart

Simple REST API for shopping cart implemented in Django & DRF. For frontend part visit shopping-cart-frontend

codecov

Running

Requirements

This app is using Docker so make sure you have both: Docker and Docker Compose

Bootstrap

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/.

Running

Next time you want to start or stop the the app use up or down command.

make up
make down

Users

Test users created during bootstrapping the project.

Login Password Role
admin@test.com password admin
user@test.com password user

Tests

To run the tests use make test command

Features

  • 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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published