fairfield-programming / backend-server

📠 The backend of the Fairfield Programming Association website.
https://fairfieldprogramming.org/
MIT License
26 stars 13 forks source link

On Account Created, Automatically Set First and Last Name #126

Closed William-McGonagle closed 2 years ago

William-McGonagle commented 2 years ago

Idea

Since we are adding first and last names to the database, we need initial values for them. To do this, we can infer the first and last names by splitting the username by the dash and then capitalizing the first letters of each word. The first name should just be the first word, and the last name should be the rest of the stuff.

Leave a comment if you want to work on this or need help.

Cheers!

Todo