Pensano-dev / aura-mobile-app

5 stars 0 forks source link

Create mongoose User model #25

Open pablisch opened 6 months ago

pablisch commented 6 months ago

I would suggest having name, username, email, password and avatar. I think we should intend on using the username rather than name or email throughout the app. Name to be non-specific in terms of first, last or both as I don't think this really matters if we are using usernames. All fields except avatar should be required and avatar will be the URL, i.e. a string.