blibli-future / detroit

Project Detroit
5 stars 0 forks source link

Create login mechanism on frontend #46

Closed adhikasp closed 7 years ago

adhikasp commented 7 years ago

Proposed design:

  1. Using react redux to save global state about authentication token. We will name it AuthStore
  2. Create login page to save user input into redux AuthStore
  3. Refactor current API call to specialized class that could be used in all of the component. We name it ApiService.
  4. All call from ApiService should acompanied by auth token taken from AuthStore.
adhikasp commented 7 years ago

Closed via https://github.com/blibli-future/detroit/pull/49