diff --git a/src/index.ts b/src/index.ts index b9d3e23..84e40e0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1 +1,10 @@ -console.log('Hello world!'); +import http from 'http'; +import Express from 'express'; + +const PORT = process.env.PORT || 3000; +const app = Express(); + +app.use(Express.json()); +app.use(Express.urlencoded({ extended: true })); + +http.createServer(app).listen(() => console.log(`server listening at ${PORT} 🚀`));