Skip to content
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

Create api endpoint for User #31

Open
kehwhy opened this issue Jan 26, 2022 · 1 comment
Open

Create api endpoint for User #31

kehwhy opened this issue Jan 26, 2022 · 1 comment
Assignees

Comments

@kehwhy
Copy link
Collaborator

kehwhy commented Jan 26, 2022

Create a user with the POST endpoint
An example of the REST endpoints - https://github.com/hack4impact-mcgill/mu-crm-tool/blob/main/backend/app/project/routes.py

More info on REST api endpoints: https://www.restapitutorial.com/lessons/httpmethods.html

@Gabriel-Paquette Gabriel-Paquette self-assigned this Jan 26, 2022
@peterghrong
Copy link
Collaborator

Users have fixed passwords, you might want to think about how you'd want to store the fixed hashed strings. One valid approach might be adding the hashed string to the env file and have api do hashing and valid with the env file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants