That’s really interesting Slobodan, I had not looked into the Serverless application repository before. Thanks for the pointer.
The more I dig into this, the more I see that it is really just about cost. Databases (like CosmosDB) are not serverless per se, unless you mean that they are serverless in their cost structure by…
Thanks for a really thorough answer Slobodan, deeply appreciated.
Quick followup: When you say that serverless has you covered for databases, queues, messages: You mean that there are triggers for events where change occurs in those, right?
Thanks for a great article.
I am a bit confused about the actual benefit of serverless. If we consider Microsoft Azure for a second. There, you can pay for a product called “App Service”, which is a traditional server-based solution. App Service, just like AWS Beanstalk, offer all the auto scaling and infrastructure…
Thanks for a great article. I use webpack for the back-end as well, and it unpacks to a dist folder.
Any idea how to set Azure to use dist/server.js as the script for node to launch (after webpack has run)? I use deploy.sh to run webpack++.
Ohh, I see. Sorry, I misunderstood. I didn’t see the src/index.js entry in your webpack config.
Basically, in my own builds I use webpack for both front-end and back-end, with different webpack configs. I was trying to get into Heroku and stumbled across your article. When I first followed it, I only published the back-end…
Unless I misunderstood that part of the article, you were saying:
Thanks for a great article. Quick question: Why do you link to the back-end server.js script, from index.js? I thought the server would run by itself, then the front-end index.js will communicate with back-end script with XMLHttpRequest.
Thanks Alexander. Does the below Pen demonstrate the same issue, just vertically?
It scrolls into the padding area at the top of the left box.
Great article, thanks for sharing.
Generators are in my opinion useful for any kind of “on-demand” production of values from sequences that are infinite or take a long time to fully compute.
A classic example is getting the next value in a Fibonacci sequence, for example. The sequence is infinite…