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
Implement user authorization and verification #14
Comments
Hi, I would like to work on this. I might have questions regarding the workflow later. |
Hello. Sure @vitokhangnguyen, you can work on this, and you can definitely ask anything regarding this. Just let me know how much time will you be needing approximately. Thank you :) |
Hi, |
@vitokhangnguyen Yes sure. Good luck 👍 |
Hi @Haider8,
|
This approach will be fine too. You can try doing this by setting up your own broker locally. Otherwise we have one more option of using a REST API just for authorization. Whenever program is started we can check through that API if that user is valid or not. You can start with setting up the passwords on broker's side. |
@Haider8 The REST API is a good idea. I think I will go this way since it gives us more total control of the authentication/authorization process. I will deliver a new repository for the API soon. |
@vitokhangnguyen Can I create a new repository for that? And what will be the technology stack of that API? |
@Haider8 For sure, I am planning to build the API in Python and using Flask. Does that sound good to you? I can also do it in Nodejs... |
@vitokhangnguyen I think Node js can be good in our case. What do you think? We will be using Heroku for deployment as they are having some free plans for the Node js + mongo DB environment. Do you know any other good service which we can use? |
Here is the repository for our API : https://github.com/Haider8/tmessage-api |
I had experience with MongoDB and Heroku before so that would be good for me 😄 |
That's great. So let's set up the project first. Do you have any tutorials or video series which we can refer to for our API? |
Besides tutorial about setting up Nodejs and MongoDB, I do not have any specific pattern out there to follow. I think our API will first have 3 simple routes:
I can get started and set up the nodejs/mongodb template for the project And thank you for the new repo. |
Yes, those 3 routes can get us started. We will be doing email verification? |
I would say let's not, for now, that can be an issue you can add in later for someone to solve |
You are right. That will be a lot to do right now. We can open a new issue once this gets completed. Sounds good? |
That's perfect. |
Hi @Haider8, |
@vitokhangnguyen PR is merged now. You can resume the work for client now 👍 |
* Add user authentication functionality by interacting with tmessage-api * Adjust code styling to align with PEP 8 standard * Minimize dependencies * Adjust code to align with hound standard * Fix styling for "continuation line over-indented for visual indent" * Fix auth ModuleNotFound of "import auth" * Fix auth ModuleNotFound of "import auth"
Fixed by #29 |
No description provided.
The text was updated successfully, but these errors were encountered: