Lurker News
As a long time software developer who hasn't done full stack in awhile (since 2013), what's everyone's go to web hosting stack today? Wanted to quickly put together a simple website with react/node.

Comments (441) 141 threads

Earlier comments
gjmacd#
Hard to argue anything other than using React (or Vue) on the frontend with a Node.JS / Express / GraphQL Apollo Server back end. To me that's the "go to" at the moment and I love Python and really think Elixir is amazing...

BUT...
When the client is 100% JavaScript on a browser (which nobody is avoiding) and you're marshalling JSON around and JS Objects, any other stack outside of Node is going to have to do the "JSON object" dance, which we all take for granted as "no biggie", but matters when your code base is spending 20% of the time doing that dance.
Node's also super fast and the community is massive. Not to say Python isn't another good choice but you give up performance in that choice.
Again, this is a "Web stack", so I'm assuming web client talking to the server. Right now, for me, it's Node / React.

thosakwe#
On every project I’ve built, I’ve been alone, so my go-to stack is pretty traditional (other than the fact that I use Dart).

My backend is Angel, a Dart framework which I wrote, and for the frontend, I just go with server-side templates. I go with vanilla JS or jQuery when needed.
The only reason I’ll make an SPA these days is if I’m also making a mobile app, and then I write everything in Dart and share common code.
But time is really a luxury for me as-is, so I try not to deviate from the server-side path.

krsdcbl#
To be honest for most projects I still use Wordpress & a Plugin like Advanced Custom Fields on the backend side of things, and just plain old PHP/HTML/CSS on the front.

Although modern frameworks & SPA are really fancy and feel great, there mostly comes a point in a project where " client needs X" and i feel that keeping tech oldschool and using a very widely used ecosystem as a CMS base earns me the most flexibility over the sites lifetime.
It's bloat and overkill for small sites, but it gets the job done just as quickly as other systems. And on larger or more complex sites it provides all I'll need without the need to "custom build it" everytime.
(Disclaimer: I'm talking "websites" here, not specific-purpose web applications where this workflow would be a horrendous workaround)

PacifyFish#
React/node is what I use for side projects.

React is pretty annoying to set up yourself since it needs to be compiled, so use https://github.com/facebook/create-react-app to spin up quickly or just host vanilla html/css/js and slowly transition to react as you please.
Alternatively, I think the React core code can be downloaded on the client via a cdn.

Load more comments