-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/be 19 #259
Feature/be 19 #259
Conversation
I think we have to be consistent in the naming of our APIs. There are lots of resources but I believe this one provides some concrete TODOs and not TODOs.
If you want to include
|
I don't see what's wrong with camelCase notation but if we're going to use hyphen convention, I can update it. Or maybe you can, showing exactly what the convention is. @KarahanS |
fyi @BElifb |
We have 3 APIs for password update (a couple for forgot case and another for logged in). Any ideas for naming without verbs? |
|
Thanks, I'll update them. |
Are we going to create a generic email that sends mails to users for |
|
Ok, I think you can add a new checkbox to the related issue #254 which states that the configurations for production will be done and let the content of this PR to be only confined to development stage. I think you should be the one working on it btw since since you got familiar with the concept @BElifb |
As we talked in the meeting, there are several things to add to this PR:
|
I updated the |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks fine and works as we have discussed. Thank you @BElifb for your effort.
Solved merge conflicts with master. Last chance if anyone wants to check it out before merge, otherwise I'll conclude the PR. |
http://127.0.0.1:8000/api/v1/auth/request-reset/
"email": "user_email@artopia.com"
}, and sends an email with a one time password to user.
http://127.0.0.1:8000/api/v1/auth/password-reset/
"email": "user_email@artopia.com",
"otp": "six_digit_otp_from_email",
"new_password": "new_user_password"
}, and changes user password to new_password.
http://localhost:8000/api/v1/swagger/schema/
manage.py
is located (bounswe2022group8\App\backend
) runpy -m smtpd -n -c DebuggingServer localhost:1025
. Make sure that your virtual environment is active.http://127.0.0.1:8000/api/v1/profile/me/password-reset/
"new_password": "new_user_password"
}, and updates user password.