POST: http://127.0.0.1:8000/auth/users/
{
"username": "gacakaj968",
"email": "gacakaj968@fitwl.com",
"password": "AYON#8sjJy@!",
"re_password": "AYON#8sjJy@!"
}
POST: http://127.0.0.1:8000/auth/users/activation/
{
"uid": "MTU",
"token": "bqt85e-fb8aef65de05b5d3927471650014eaff"
}
POST: http://127.0.0.1:8000/auth/jwt/create/
{
"email": "gacakaj968@fitwl.com",
"password": "AYON#8sjJy@!"
}
Response:
{
"refresh": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTY4ODgxNTMyOCwianRpIjoiMGNhMWM1MWNiOWNlNGRmZDkxNmViNDc3ZWUxYzFhYWQiLCJ1c2VyX2lkIjoxNX0.aF87pNgThvso3on7wVzq79N_pEk5DSHK_5_YnPEnsiI",
"access": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjg4NjQyNTI4LCJqdGkiOiJmYjQ5MDQ0MjgyNzM0ZjFjOWFiMjJhYjE3OWIyNjY4OSIsInVzZXJfaWQiOjE1fQ.3I_dzIhD1v3cFiKMyLGSfDfI5i5vKB7pAijNr4eJ31c"
}
Django Rest framework API for Twitter.
Frontend: reactjs.
Will try to add all most all the features of twitter.
construct the model
Folder structure
all the api endpoints connection with frontend
all the features of twitter