Add a first version of synchronisation
Remove redux-offline dependency
make the redux state fully immutable
TODO: better error management
TODO: make syncronization work automatically
// define application configuration
export default {
apiRootUrl: process.env.REACT_APP_API_ROOT_URL || 'http://localhost:8000',
basename: process.env.REACT_APP_BASENAME || '',
networkStatusTimeout: parseInt(process.env.REACT_APP_NETWORK_STATUS_TIMEOUT, 10) || 2000,
networkStatusInterval: parseInt(process.env.REACT_APP_NETWORK_STATUS_INTERVAL, 10) || 20000,
}