Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jcj-17-retrieve-user-version2 #6

Open
wants to merge 43 commits into
base: development
Choose a base branch
from

Conversation

josecabrerajr7
Copy link
Owner

@josecabrerajr7 josecabrerajr7 commented Jul 9, 2021

Retrieve User

  • Fixed the issue with the user not being saved correctly when the order was being created. The user was being saved as unknown.
  • In redux the wrong parameter was being return.

Learned

  • Learned more about mongoose and created a user schema to store the user in the database. So if the user first time signing in, create their account but if they sign in and they already exist by looking for their email. It will return their account and not create a new one.

Closes Shift3#17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant