{"size": 322, "ext": "js", "max_stars_repo_path": "server.js", "max_stars_repo_name": "mallowfields/junction", "max_stars_repo_stars_event_min_datetime": "2022-03-08T22:45:16.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-08T22:45:16.000Z", "max_issues_repo_path": "server.js", "max_issues_repo_name": "mallowfields/junction", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "server.js", "max_forks_repo_name": "mallowfields/junction", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.7692307692, "max_line_length": 55, "alphanum_fraction": 0.6894409938}
require('dotenv').config()
const express = require('express')
const history = require('connect-history-api-fallback')
const app = express()
app.use(history())
app.use(express.static(`${__dirname}/dist`))

const port = process.env.PORT || 8080

app.listen(port, () => {
  console.log(`Server running on port: ${port}/`)
})
