import express from "express" import entries from "./routes/entries" const app = express() const port = 3000 app.use(express.json()) app.use("/entries", entries) app.listen(port, () => { console.info(`INFO Server running at http://localhost:${port}`) })