Lurker News
I am still frustrated with the amount of incidental complexity required whenever I want to do this. My latest attempt was to use a Digital Ocean droplet with Django pre-installed. I guess the biggest issue there was setting up something so that I could easily deploy my local version to the droplet (ended up using git/Github), and ensuring those two environments were in sync. I looked into Docker in some detail about a year ago, and I think it's the only pretty good solution for this I've come across—but there's a steep up front cost in learning/setup etc. (or so it seems).

What services and technologies do you use when you'd like to quickly build a web app which may never be more than a prototype, but may also turn into something real? A big aspect of what I'm wondering is about automatically setting something up for keeping local/production environments in sync, quickly deploying to production, and not having to mess with a bunch of server configuration things, user accounts, security, etc.

Comments (558) 189 threads

Show all comments

Showing thread 18 of 189

chuckdries1 reply#
I'm surprised nobody is talking about Express for the back end. Maybe it's because I hail from the front end world, but I'm already so comfortable in javascript I'm faster in it than if I had to learn anything else.

For the front end, I like Vue because it's just react with less boilerplate.

dyeje8 replies#
It blows my mind that there still isn't a polished ORM for the node.js / Express ecosystem.
jchw1 reply#
Precisely this. I came from the Django world to try starting a Node.js project, and was absolutely blown away by how immature ORMs and even database libraries felt. In Python, you have SQLalchemy and Django ORM, both of which are fantastic and make ample use of the language. But for JavaScript, it felt like an uphill battle, especially if you want to do anything fancy.

Of course you don't _need_ an ORM or at least you definitely don't need one as full-blown as Django ORM. But I didn't even feel comfortable using any of the solutions I saw that were supposedly the 'best.' And yet, when I went and evaluated the solutions, I do agree they were the best - I just never felt like they were mature enough to really use yet. As far as not using an ORM goes, certainly this is doable, but at the end of the day if you don't want to hardcode a bunch of SQL queries and statements you probably are going to need to write code that will begin to look awfully like ORM code for basic operations...

mmcnl#
Most Python libraries are a lot more mature than NodeJS libraries. This makes sense because they are also often a lot older. That being said, all ecosystems have their up- and downsides. Fpr example, I think package management for NodeJS is infinite amount of times better than for Python. Pipenv only came around one year or so ago.
connorelsea#
There are multiple. Sequelize is the best and I've used it in a few projects
hardwaresofton#
Typeorm has been fantastic for me: https://github.com/typeorm/typeorm

It strikes just the right balance between the data modeling approach and query building for me.

friedman231 reply#
> ORM for the node.js / Express ecosystem

Coming from Python world, it's probably for the best that nobody is using ORMs.

jamestimmins5 replies#
Can you expand on your logic here? Is this because Python ORMs have gotten too bloated?

Continue this thread — 5 replies

szymonides#
Have a look at http://loopback.io Express with scaffolding and connectors to memory, MongoDb, MySql, MsSql and other.
jashmatthews#
Everyone complains about ActiveRecord, but other ecosystems often have far worse options to choose from than AR and Sequel.
oreganoz1 reply#
Yeah, well, what else did the romans ever do for us?
mateuszf#
Aqueducts?
eagsalazar2#
All those listed in the SQL category (the category almost everyone actually cares about) are total crap compared to, for example, ActiveRecord. GP said polished not plentiful.
golergka#
Have personal experience with Sequelize and TypeORM, both are very far from being polished and finished.