This is django-rest-framwork custom mobile otp authentication system, which can be used in multiple use cases for allowing the users to register themselves with the mobile OTP they receive . Users can also update their profile.
Custom Urls have been used and can be seen in progress via POSTMAN or by connecting it to some frontend framwork.
- activating the pip virtual env
pipenv shell
- Installing packages
pipenv install -r requirements.txt
- Making Migrations
python manage.py makemigrations
python manage.py migrate
- Running server
python manage.py runserver
Third party apps such as twillio or any other messaging apps can be used for sending the OTP. Here, I've used a simple function to generate OTP in the local server.