Jbays / gymnastics-tracker

full stack app to track my gymnastics progress
0 stars 0 forks source link

create auth #24

Open Jbays opened 6 years ago

Jbays commented 6 years ago

App should handle more than one user.

I envision a situation where a user wants to sign up. Okay, that user submits their email. In return, a user is emailed an invitation code.

That user then logs in. User is prompted for their invitation code. If their submitted invitation code is valid, user is then prompted to create a password, add a user profile photo, etc., etc. All that good stuff.

Then user should be able to login anytime afterward.

NOTE: I will have to modify the front end to handle different users. That might be the point where Vuex becomes a necessary dependency. How else to handle state across different views??

Jbays commented 6 years ago

Basic auth is working.

Last step though is to get the UI to use the correct user Id. Then I can close this ticket.

Jbays commented 6 years ago

25 Here's basic auth.