hack4impact-mcgill / MADA

Repository for the MADA Project
5 stars 0 forks source link

Create api endpoint for User #31

Open kehwhy opened 2 years ago

kehwhy commented 2 years ago

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

peterghrong commented 2 years ago

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.