import * as config from "./config"; import express from "express"; import db from "./db"; const app = express(); app.use(express.static('public')); app.use(express.json()); app.get("/test", (request, response) => response.send("Test")) const server = app.listen(config.port, () => { console.log(`Listening on port ${config.port}`); });