The sample project for django rest framework.
git clone https://github.com/dori-dev/drf-sample.git
cd drf-sample
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
rename .env.example
to .env
and change values.
mv .env.example .env
create account in kavenegar.com and change SMS_API_KEY
value to your api key.
create verification template and change OTP_TEMPLATE
value to your template name.
python manage.py makemigrations planes otp
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
API Documentation: 127.0.0.1:8000
Admin Page: 127.0.0.1:8000/admin
Download Source Code: Click Here
My Github Account: Click Here