How to go serverless, deploy simple NodeJS server.
In this tutorial we will explain how to use AWS Lambda to deploy very basic yet highly scalable NodeJS server based on ExpressJS framework.
const express = require('express')
const app = express()
const port = 3000
app.get('/', (req, res) => {
res.send('Hello World!')
})
app.listen(port, () => {
console.log(`Example app listening on port ${port}`)
})