Example of cart based apis for e-com platforms, along with token based login authentication using drf
This small project is to show the usage of token based authentication for anonymous users, signing them in and using the token to authorize them over other apis such as fetching their cart's information, updating their cart's information etc. It also illustrates one endpoint that doesn't require for the request to be authenticated.
Package Version
Django 2.2
djangorestframework 3.10.2
pip 19.0.3
pytz 2019.1
setuptools 40.8.0
sqlparse 0.3.0
Developed using: PyCharm CE