{"size": 1001, "ext": "js", "max_stars_repo_path": "frontend/src/app.js", "max_stars_repo_name": "mobilizer4you/express-node-react-redux", "max_stars_repo_stars_event_min_datetime": "2016-12-22T18:36:22.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-13T18:44:22.000Z", "max_issues_repo_path": "frontend/src/app.js", "max_issues_repo_name": "emmaroland32/node-express-react-redux-zwitter", "max_issues_repo_issues_event_min_datetime": "2017-03-26T03:00:22.000Z", "max_issues_repo_issues_event_max_datetime": "2020-04-24T01:39:15.000Z", "max_forks_repo_path": "frontend/src/app.js", "max_forks_repo_name": "emmaroland32/node-express-react-redux-zwitter", "max_forks_repo_forks_event_min_datetime": "2017-03-11T08:43:54.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-05T16:52:18.000Z"}
{"max_stars_count": 107, "max_issues_count": 2, "max_forks_count": 45, "avg_line_length": 33.3666666667, "max_line_length": 68, "alphanum_fraction": 0.7102897103}
// Imports
import React from 'react'
import { Route, Switch } from 'react-router-dom'

// App Imports
import Layout from './components/layout'
import TweetListContainer from './components/tweet/list-container'
import TweetAdd from './components/tweet/add'
import TweetViewContainer from './components/tweet/view-container'
import UserLogin from './components/user/login'
import UserRegister from './components/user/register'
import About from './components/about'
import PageNotFound from './components/page-not-found'

const App = () => (
  <Layout>
    <Switch>
      <Route exact path="/" component={TweetListContainer}/>
      <Route path="/tweet/add" component={TweetAdd}/>
      <Route path="/tweet/:tweetId" component={TweetViewContainer}/>
      <Route path="/user/login" component={UserLogin}/>
      <Route path="/user/register" component={UserRegister}/>
      <Route path="/about" component={About}/>
      <Route component={PageNotFound}/>
    </Switch>
  </Layout>
)

export default App
