johndpjr / AgTern

19 stars 5 forks source link

Implement sign-up #142

Closed johndpjr closed 11 months ago

johndpjr commented 11 months ago

Context

Our front-end has the UI for creating a new account, however the sign-up button doesn't do anything. The backend also supports authentication right now, but the two have not been connected yet.

TODO

Notes

The endpoint you want to hit when creating a new user is register_user at "/login/users/register". The generated client in the frontend (found in frontend/src/_generated/api/services/LoginService.ts) has a function called registerUser; this function will make the API call necessary.