Hi Everyone,
Thanks for working on such a great project!
Iām wondering if anyone has had experience deploying into AWS via Lambda? This project is a lot of firsts for me (first react project and first serverless project) so Iām a bit lost. I have a theme Iāve built all ready to go and ran npx frontity build to create the server.js and static files. I have the static files hosted up in my CDN with Cloudfront, and have pointed server.js to those files and it all seems to work fine locally by running npx frontity serve.
Creating a Lambda function to run this deployment is another first for me. I get the idea that creating a node.js function in Lambda and then pointing an API gateway endpoint to it for calling it via http but getting it to execute server.js has me stumped. A handler function which then calls and executes server.js probably is all I need but Iām not 100% on where to go from here.
I know the project seems to focus more in deploying to Now and even some people working on Netlify, but has anyone taken a look running frontity on AWS Lambda? Any thoughts or being pointed in a specific direction to get going would be appreciated.
If I get a project successfully deployed Iāll happily contribute with some steps for others to work from.
Thanks!