Created
March 27, 2018 23:00
-
-
Save agenthunt/bbb198d281562f9d9a8727807f2533f7 to your computer and use it in GitHub Desktop.
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 { createStar } from 'redux-nakshatra'; | |
export const { rootSaga, types, actions, rootReducer } = createStar({ | |
name: 'users', | |
http: { | |
url: 'http://localhost:5000/users', | |
generateDefault: true, | |
override: { | |
getUser: { | |
url: 'http://localhost:5000/user/:id' | |
} | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment