import express from "express" ; const app = express ( ) ; const port = 80 ; app . use ( express . urlencoded ( { extended : false } ) ) ; app . use ( express . json ( ) ) ; app . get ( "/" , ( req , res ) => { res . status ( 200 ) . send ( "Hello Serverless APIGW with Application Load-Balanced Fargate Service!" ) ; } ) ; app . listen ( port , ( ) => { console . log ( `server started at http://localhost:${ port }` ) ; } ) ;