I’ve managed to do what I wanted following the post in Error when logging in on Forest with admin backend deployed on AWS in lambda function - #16 by Cyril_Limam
I’ve updated to app.js file to return an async createApp function. And the server.js to use “const app = await createApp();”
It works now