Comp-490-SeniorProject / site

MIT License
0 stars 1 forks source link

Add Endpoints for Registering Users #42

Closed MarkKoz closed 2 years ago

MarkKoz commented 2 years ago

There needs to be an unauthenticated endpoint for creating a new user. This is necessary for #33. The API should ask for a name, a password, and an email. I already created a custom user model here, but it is currently empty. I'm not sure if it inherits any fields or if they need to be all explicitly defined.

For the API, I found django-rest-registration, which should mke our job a lot simpler. It does support session auth! Apparently this is "Modeless", so maybe we don't have to worry about putting anything in our user model?