2 ms·
I've mainly worked in startups, but also worked with big enterprises as well during a stint at Red Hat, and yes, backends in Javascript are numerous and plentif
by freedomben 3y ago
I've mainly worked in startups, but also worked with big enterprises as well during a stint at Red Hat, and yes, backends in Javascript are numerous and plentiful. Aside from Java in enterprise environments, it's by far the most common backend I've seen.
- dventimihasura 3y agoI'm curious about that ecosystem, especially with regard to databased. I asked this elsewhere, but what're the main libraries for database access?
- freedomben 3y agoFor databases it varies quite a bit. Among people who like to use an ORM, TypeORM is the current thing that is in widespread use. For non-ORM people, most use pg or a similar thin-layer on top of raw SQL. In enterprise it was a lot of raw SQL as well, in large part because there was a lot of different DBs to support from db2 to SQL Server to Postgres
- dventimihasura 3y agoIt's dodgy finding the right search term, but at first blush it looks like sequelize is most popular, though the gap has narrowed considerably.
- ahzhou 3y agoThey fall under a few buckets: Driver: - node-postgres - node-mysql2 Query Builder / Other thin clients: - knex - kysely - slonik ORM: - TypeORM - MikroORM - Objection.js - DrizzleORM - Prisma (actually runs a separate binary)