import express, { Application, Request, Response } from 'express'; import router from './routes/api'; const app: Application = express(); const PORT = 8000; app.use(router) app.listen(PORT, () => { console.log(`Running: localhost:${PORT}`); });