DEV Community

Discussion on: I'm planning on creating a website with NodeJS, What can I use to future proof it?

 
jacobgc profile image
Jacob

Ah I see, thanks

Thread Thread
 
ben profile image
Ben Halpern

Rethink seems well done, but it doesn't scream future-proof. I wouldn't go that route unless the realtime event stuff is critical right now for you. In general I'd focus more on being methodical as you go as opposed to overthinking everything now. Future-proofing is a real easy way to fall into paralysis-by-analysis.

One the DB side, from my observations, Mongo is usually thought of as the default in Node stacks and there seem to be a lot more Mongo tutorials and tools. I have a hard time understanding why this is, but it's what I've observed. Postgres is my definition of a stable go-to database that does what you probably want it to do, but Mongo has really found popularity with Node and I wouldn't swim upstream if you don't need to.

Thread Thread
 
jacobgc profile image
Jacob

Thanks Ben,

I have noticed the trend with Mongo + NodeJS. Thanks for the suggestion about Postgres, I'll have to look into it more. Also thanks for the advice on the analysis :)

Thread Thread
 
ben profile image
Ben Halpern

I'd also say you can probably rewrite portions of the app like templates if it comes to it and as long as the app is generally well-thought out and tested, you'll be fine. It's really hard to know now what problems you'll run into, so pick something that seems decent based on what you know of the immediate problems at hand.

Thread Thread
 
jacobgc profile image
Jacob

Sounds good to me :)