I want to deploy a simple Express App without any frontend. This Express App only contains routings and serving pages with “handlebars” template engine. I tried to search for resources to deploy this on “netlify” and followed many videos as well. But, in every video, I learnt the following:
- Express can be accessed/deployed using lambda functions for netlify to host it.
- Another thing, every video is only showing to deploy express with api endpoints which can be accessed through these lambda functions when requested from a frontend application.
- Another thing, the lambda functions has to be made according to the api endpoints, which means the no. of api endpoints = number of lambda functions/(script files) as each lambda function denotes a script file.
- So, according to the point number 3, I guess it is best suited for GraphQl rather than REST Api.
After all this information, is there any way that I can deploy only a Simple Express App rather than Frontend + Express Api in Netlify ?
Please, do correct me if I am wrong in any information and any suggestion or help will be really helpful for me.