content: import React from 'react';
  import { render } from 'react-dom';
  import { BrowserRouter as Router, Route, browserHistory } from 'react-router-dom';
  import createBrowserHistory from 'history/createBrowserHistory';
  import routes from './routes';
  import { Provider } from 'react-redux';
  import thunk from 'redux-thunk';
  import { createStore, applyMiddleware, compose } from 'redux';
  import rootReducer from './rootReducer';
  
  import App from "./components/App";
  import Greetings from "./components/Greetings";
  import SignupPage from "./components/SignupPage";
  
  const history = createBrowserHistory();
  const store   = createStore(
    rootReducer,
    compose(
      applyMiddleware(thunk),
      window.devToolsExtension ? window.devToolsExtension() : f => f
    )
  );
  
  
  render(
    <Provider store={store}>
      <Router history={history}>
        {routes}
      </Router>
    </Provider>,
    document.getElementById('app')
  );
  