👷♂️
    
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <key>NSAppTransportSecurity</key> | |
| <dict> | |
| <key>NSAllowsArbitraryLoads</key> | |
| <true/> | |
| <key>NSExceptionDomains</key> | |
| <dict> | |
| <key>localhost</key> | |
| <dict> | |
| <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key> | |
| <true/> | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ├── android | |
| │ ├── app | |
| │ ├── build.gradle | |
| │ ├── gradle | |
| │ ├── gradle.properties | |
| │ ├── gradlew | |
| │ ├── gradlew.bat | |
| │ ├── keystores | |
| │ └── settings.gradle | |
| ├── app | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "parser" : "babel-eslint", | |
| "extends" : [ | |
| "airbnb" | |
| ], | |
| "plugins": [ | |
| "babel" | |
| ], | |
| "ecmaFeatures": { | |
| "jsx": true | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | export function signinUser({ email, password }) { | |
| return function(dispatch) { | |
| axios.post(`${ROOT_URL}/signin`, { email, password }) | |
| .then((response) => { | |
| dispatch({ type: AUTH_USER }); | |
| browserHistory.push('/feature'); | |
| }) | |
| .catch((error) => { | |
| }); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | export const loadUserData = (uid) => { | |
| const request = axios.get(`/users/${uid}`); | |
| return { | |
| type: LOAD_USERDATA, | |
| payload: request | |
| }; | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | export function* loadUserData(uid) { | |
| try { | |
| yield put({ type: USERDATA_REQUEST }); | |
| let { data } = yield call(request.get, `/users/${uid}`); | |
| yield put({ type: USERDATA_SUCCESS, data }); | |
| } catch(error) { | |
| yield put({ type: USERDATA_ERROR, error }); | |
| } | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | export const loadUserData = (uid) => async (dispatch) => { | |
| try { | |
| dispatch({ type: USERDATA_REQUEST }); | |
| let { data } = await request.get(`/users/${uid}`); | |
| dispatch({ type: USERDATA_SUCCESS, data }); | |
| } catch(error) { | |
| dispatch({ type: USERDATA_ERROR, error }); | |
| } | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import React from 'react'; | |
| import ReactDOM from 'react-dom'; | |
| import { Provider } from 'react-redux'; | |
| import { createStore, applyMiddleware } from 'redux'; | |
| const createStoreWithMiddleware = applyMiddleware(reduxThunk)(createStore); | |
| const store = createStoreWithMiddleware(reducers,window.devToolsExtension ? window.devToolsExtension() : f => f); | |
| ReactDOM.render( |