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

8. Sign In / Sign Up Screens #82

Open
4seer opened this issue Mar 6, 2020 · 4 comments · Fixed by #94
Open

8. Sign In / Sign Up Screens #82

4seer opened this issue Mar 6, 2020 · 4 comments · Fixed by #94
Assignees
Labels
architecture Move to clean architecture feature New feature or request sign in / sign up Sign In / Sign up functionality
Milestone

Comments

@4seer
Copy link
Owner

4seer commented Mar 6, 2020

8.1. Sign in using email use-case: User enters email and password. The credentials are checked on the server (call to server API). If login was successful then user is redirected to home screen. If an error appeared then user sees error message.

8.2. Sign up using google account use-case: User clicks google icon, user google account credentials are checked. Successful result creates an account for the user locally and makes an API call to the server to add new account. User gets redirected to the home screen.

8.3. Sign up using Facebook account use-case: User clicks Facebook icon, user Facebook account credentials are checked. Successful result creates an account for the user locally and makes an API call to the server to add new account. User gets redirected to the home screen.

8.4. Send password reminder use-case: User enters email on the Forgot Password Screen and clicks “Send” button”. A Server API call is made to check if use exists and to send forgot password email. If it is successful user is sees message from the server (like “An email with password reminder was sent to [email protected]”). If an error appears user see that error.

8.5. Sign up use-case: User fills in the fields on the Sign Up Screen and clicks “Sign Up” button. API request is made to create new user account. If successful then local record for that user is created and user is redirected to home screen. If an error appears then user sees it on the Sign Up Screen.

E-commerce App Use-Case Description

Within this task you need to do the following:

  1. Pull all data from local database and render it on the screen.

  2. At this time mock remote repository calls for fetching data from a local JSON file. The data structure and method names should be taken from WooCommerce REST API docs.

@4seer 4seer added feature New feature or request sign in / sign up Sign In / Sign up functionality architecture Move to clean architecture labels Mar 6, 2020
@4seer 4seer added this to the Backend API milestone Mar 6, 2020
@alistairholmes
Copy link

Hi there:wave: I would like to take on 8.2 of this issue please. Is that possible or is this issue assigned already?

@4seer
Copy link
Owner Author

4seer commented Mar 8, 2020

8.2. assigned to alistairholmes

@4seer
Copy link
Owner Author

4seer commented Mar 8, 2020

Hi there👋 I would like to take on 8.2 of this issue please. Is that possible or is this issue assigned already?

There is a common task #52 which is in progress. 8.2 is more about clean architecture. But you can propose your variant of google login and make a pull request.

@exlo89
Copy link

exlo89 commented Mar 11, 2020

I would work on 8.1 8.4 and 8.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture Move to clean architecture feature New feature or request sign in / sign up Sign In / Sign up functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants