Skip to content

Implement Sign-up flow using TCA

Implement Sign-up flow using TCA

Description

  • Add support for Sign Up flow to unblock token generation (which will be used for all other API requests)
  • Introduce TCA-driven architecture (reducers, state-management, actions, Store)
  • Create finite state machine for the Sign Up flow
  • Add Session loader to lay out the foundation for future session management
  • Add tests to cover basic usage
  • Add ATS exception to bypass non-https calls

closes #(44)

Success-sign-up

Fail-sign-up

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Unit Test Added Unit tests to cover main scenarios: sign-up call, error response from the server, success response from the server. Screenshot_2022-07-15_at_12.24.10

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Merge request reports