text: import React from 'react';
  import ReactDOM from 'react-dom';
  import { Router } from "react-router-dom";
  import { createBrowserHistory } from "history";
  import Amplify from 'aws-amplify';
  import config from './config';
  import App from './App';
  import * as serviceWorker from './serviceWorker';
  
  //import './App.css';
  import './assets/scss/style.scss';
  
  Amplify.configure({
    Auth: {
      // TODO: Maybe not need mandatory sign in 
      mandatorySignIn: true,
      region: config.cognito.REGION,
      userPoolId: config.cognito.USER_POOL_ID,
      identityPoolId: config.cognito.IDENTITY_POOL_ID,
      userPoolWebClientId: config.cognito.APP_CLIENT_ID
    },
    Storage: {
      region: config.s3.REGION,
      bucket: config.s3.BUCKET,
      identityPoolId: config.cognito.IDENTITY_POOL_ID
    },
    API: {
      endpoints: [
        {
          name: "auxme",
          endpoint: config.apiGateway.URL,
          region: config.apiGateway.REGION
        },
      ]
    }
  });
  
  const history = createBrowserHistory();
  
  ReactDOM.render(
    <Router history={history}>
      <App />
    </Router>,
    document.getElementById('root')
  );
  
  // If you want your app to work offline and load faster, you can change
  // unregister() to register() below. Note this comes with some pitfalls.
  // Learn more about service workers: https://bit.ly/CRA-PWA
  serviceWorker.unregister();
  