Say, you’re a business, and want to set up your own e-commerce site. Whether it makes money immediately or not, is not a concern, as the business will pay for it, and absorb the initial loss. And the development costs to build the site are already in the $50,000+ range.
So with all this upfront expense, why don’t the business just go with EC2?
Unless this is for some silly hobby website of yours, that you have no clue will make any money or not. Then in this case, maybe your suggestion is valid.
My site is a firebase powered SPA, so the only thing Heroku has to handle is the initial pageload....I would think that the standard 1x dyno would be sufficient for that....which is not very expensive...
With JS, do you mean React or jquery or literally JavaScripting the DOM?
could also rope your friends/family into it if you want your app to be "distributed", might require a lot of work though especially if they are not very technology oriented.
I agree that GraphQL + React will be pretty and work well. But for one-man start-ups, the focus is usually on "looks good enough and kinda works".
So I believe I'd go with Bootstrap & Glyphicons, just to get results faster.
I use this stack and I'm pretty sure I could pump out any SaaS business in about two weeks with it. Host on Heroku, use whatever analytics system you want.
Use Heroku.
It's super easy to get started. And when you reach $2000+ in monthly bills, hire me to move things over onto dedicated or EC2 so that you'll get 10x that performance for the same price.
As for the actual language, I think PostgreSQL + Ruby Backend + JS Frontend is still the easiest way to get started.
All those great architectural ideas don't matter much until you have your first $5k monthly in reliable revenue. And by then, you'll have a completely different perspective than what you think you need now.