3 ms·
Nice, but the article leaves out the bit about where the API is hosted. It really isn’t the entire web application, just the easy part. Still a nice guide for
by mrweasel 6y ago
Nice, but the article leaves out the bit about where the API is hosted. It really isn’t the entire web application, just the easy part.
Still a nice guide for static website owner.
- Zombieball 6y agoYou could put it in a lambda function.
- hmate9 6y agoNot sure why this is downvoted. It’s a perfectly valid “serverless” architecture. The only downside is that it can get quite messy maintaining.
- 0xbkt 6y agoWhere even is the downvote button?
- austhrow743 6y agoHidden until you get more karma.
- duiker101 6y agoI would guess because then it's "just another serverless web app" and invalidates the title which is "Hosting your ENTIRE web app...".
- root993 6y agoHello, Author here. Could you elaborate on what part of the maintenance would be messy? I was under the impression that maintaining this would be quite easy because there is no physical server present anywhere in this setup.
- bonestamp2 6y agoNot OP, but I think you should be fine. It can get messy if you're using it as a backend for an application that may at some point have different versions in the field (or dev/testing/staging) so you need to support multiple versions of your APIs. It's not impossible, but it can get messy. If anybody has some good rules/frameworks to organize that kind of thing, I'd appreciate a reply.
- root993 6y agoHello, author here. My bad for not giving a more appropriate title for the post. You re right this setup does not take the backend APIs into account. In our case we use Lambda for the backend APIs so that is also serverless but I failed to mention it in the post.
- rorykoehler 6y agoPretty glaring omission. The blog post is standard practice for years for loads of us. Thanks for wasting 5 mins of my Sunday.
- mrweasel 6y agoIf you do a follow up on how your frontend and the Lambdas work together please post it, that would be super interesting to me.
- shekhar101 6y agoHi, also curious how you integrated WhatsApp messages to user for confirmation? Is it business api and is the pricing an issue? (I’m in India too and think WhatsApp api is a bit expensive especially for a use case where I initiated the messaging like in your case)