{"size": 412, "ext": "js", "max_stars_repo_path": "ef-dashboard-app/index.js", "max_stars_repo_name": "jll5677/JJJ", "max_stars_repo_stars_event_min_datetime": "2021-03-29T01:59:03.000Z", "max_stars_repo_stars_event_max_datetime": "2021-03-29T01:59:03.000Z", "max_issues_repo_path": "ef-dashboard-app/index.js", "max_issues_repo_name": "jll5677/JJJ", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "ef-dashboard-app/index.js", "max_forks_repo_name": "jll5677/JJJ", "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": 22.8888888889, "max_line_length": 75, "alphanum_fraction": 0.6165048544}
const PropReader = require('properties-reader');
const props = PropReader('./../ef-dashboard-config/app/server.properties');

const express = require('express');
const app = express();
const port = props.get('server.port');

app.get('/', (req, res) => {
    res.send("home");
})

app.get('/user', (req, res) => {
    res.send("user");
})

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