Figuring out structure

This commit is contained in:
James Barnsley
2016-10-03 15:22:15 +13:00
parent a414888b2a
commit e0307f69e6
23 changed files with 41 additions and 519 deletions

17
src/bootstrap.js vendored Executable file
View File

@ -0,0 +1,17 @@
console.info('Bootstrapping...');
import { createStore } from 'redux'
import reducer from './reducers/index'
import Services from './services/Services'
// start all our services
Promise.all(Services.setup())
.then(() => {
console.info('Services started...');
});
// create our global store
let store = createStore( reducer, {} );
export default store;