How to make authentication api in django using rest framework? [closed]
I am currently working on a project called “Asset Management System.” I have created five models: AssetCategory, Asset, AssetDetails, AssetOut, and Person. Each of these models contains the following fields:
- AssetCategory: Name of the category of the asset
- Asset: Name of the asset
- AssetDetails: Description of the asset
- AssetOut: Amount of the asset that has been out of stock
- Person: Information about the person who owns the asset
I have already developed an API for CRUD operations for these models. I am now trying to create an authentication API for my project. I would like to know how I can do this using Rest Framework(using JWT Authentication instead of tokens).
Please note that you can update the above model as per your requirements.