const express = require('express')
const app = express()
app.get('/', (req, res) => res.send('Hello World! from Node.js'))
app.listen(3000, () => console.log('Example app listening on port 3000!'))
ProxyPass /node http://localhost:3000/
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
It should be noted that this approach is suitable for certain roles with a limited number of users. But if you want to have performance scalability, you must run Apache and node.js separately and use others like nginx to do the opposite.
Hopefully this gives you inspiration to apply to your work, and do not hesitate to comment on the columns that we have provided below.