{"size": 767, "ext": "js", "max_stars_repo_path": "examples/hacktoberfest/dashboard/src/index.js", "max_stars_repo_name": "rsbh/cube.js", "max_stars_repo_stars_event_min_datetime": "2021-01-06T09:02:37.000Z", "max_stars_repo_stars_event_max_datetime": "2021-08-19T12:28:33.000Z", "max_issues_repo_path": "examples/hacktoberfest/dashboard/src/index.js", "max_issues_repo_name": "rsbh/cube.js", "max_issues_repo_issues_event_min_datetime": "2021-06-30T17:12:37.000Z", "max_issues_repo_issues_event_max_datetime": "2021-12-15T15:39:47.000Z", "max_forks_repo_path": "examples/hacktoberfest/dashboard/src/index.js", "max_forks_repo_name": "rsbh/cube.js", "max_forks_repo_forks_event_min_datetime": "2021-01-09T00:03:47.000Z", "max_forks_repo_forks_event_max_datetime": "2021-01-09T00:03:47.000Z"}
{"max_stars_count": 6, "max_issues_count": 3, "max_forks_count": 1, "avg_line_length": 29.5, "max_line_length": 151, "alphanum_fraction": 0.7470664928}
import React from 'react'
import ReactDOM from 'react-dom'
import cubejs from '@cubejs-client/core'
import { CubeProvider } from '@cubejs-client/react'
import 'antd/dist/antd.css'
import './index.css'
import App from './App'

const API_URL = process.env.NODE_ENV === 'production'
  ? 'https://serious-tobias.gcp-us-central1.cubecloudapp.dev'
  : 'http://localhost:4000'

const CUBEJS_TOKEN = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE1OTQ2NjExMzQsImV4cCI6MTYyNjE5NzEzNH0._sWwksID3MLJxXmqNnECV_A3x7gUcVzSgn4szFox76s'

const api = cubejs(CUBEJS_TOKEN, {
  apiUrl: `${API_URL}/cubejs-api/v1`,
})

ReactDOM.render(
  <React.StrictMode>
    <CubeProvider cubejsApi={api}>
      <App />
    </CubeProvider>
  </React.StrictMode>,
  document.getElementById('root'),
)