{"size": 868, "ext": "js", "max_stars_repo_path": "web/src/containers/App/App.js", "max_stars_repo_name": "thiagojacinto/aceleradev-react-redux-ecommerce", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "web/src/containers/App/App.js", "max_issues_repo_name": "thiagojacinto/aceleradev-react-redux-ecommerce", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "web/src/containers/App/App.js", "max_forks_repo_name": "thiagojacinto/aceleradev-react-redux-ecommerce", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.4594594595, "max_line_length": 57, "alphanum_fraction": 0.5933179724}
import React from "react";
import { BrowserRouter } from "react-router-dom";
import { Provider } from "react-redux";

import store from "../../redux/store";

import Routes from "../../routes";
import Topbar from "../../components/Topbar";
import Footer from "../../components/Footer";
import CartWithBadge from "../ShoppingCart/CartBadge";

import "../../styles/globalStyles.css";

function App() {
  return (
    <Provider store={store}>
      <div className="app" data-testid="app">
        <BrowserRouter>
          <Topbar>
            <CartWithBadge />
          </Topbar>

          <Routes />

          <Footer
            authorName="Thiago Jacinto"
            githubLink="https://github.com/thiagojacinto"
            twitterLink="https://twitter.com/higuetari"
          />
        </BrowserRouter>
      </div>
    </Provider>
  );
}

export default App;
