const express = require('express'); const network = require('./data/network.json'); const app = express(); const port = 3000; app.use(express.static('dist')); app.get('/realtime', (req, res) => { }); app.get('/network', async (req, res) => res.json(network)); app.listen(port, () => console.log(`App listening on port ${port}`));