savannah-Silica / e-commerce-api

E-commerce platform API: Customers can browse products, add items to their cart, checkout, and make payments.
MIT License
2 stars 8 forks source link

Custom User Model #18

Closed zablon-oigo closed 4 weeks ago

zablon-oigo commented 5 months ago
  1. Created a custom user model by subclassing AbstractBaseUser and PermissionsMixin to tailor the user model to our project's specific requirements.
  2. Developed a model manager by subclassing BaseUserManager to streamline user management tasks and provide additional functionalities.
  3. Implemented a comprehensive test suite to ensure the proper functionality of the custom user model and manager.

Attached are images showcasing the implemented changes for better visualization.

models test1

test

zablon-oigo commented 5 months ago

user list users register endpoint register

login endpoint login

refresh token endpoint refresh