PostgreSQL
node
Our great sponsors
PostgreSQL | node | |
---|---|---|
57 | 922 | |
11,907 | 103,634 | |
- | 1.6% | |
8.0 | 9.9 | |
1 day ago | 6 days ago | |
JavaScript | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PostgreSQL
-
Neon Is Generally Available: Serverless Postgres
pg doesn't do too well with serverless, dead connections are left in the pool (or something)
https://github.com/brianc/node-postgres/issues/2112
-
NodeJS Security Best Practices
If you don't want to use ORM then there are some other packages as well! For PostgreSQL we have node-postgres
-
Building Secure Neon-Infused Web Apps with Auth0, Express, and EJS
Interface with PostgreSQL database
-
Drizzle is just as unready for prime-time as Prisma, what else is there?
(Instead of the following with pg.)
-
Nile, Serverless Postgres for Modern SaaS
So far every JS framework that uses https://node-postgres.com works great and so no reason to think Drizzle wouldn't.
-
We migrated to SQL. Our biggest learning? Don't use Prisma
One thing that keeps coming up is that SQL equals low productivity. I don't think this is true. I think the culprit is that most developers are using to heavily abstracting SQL using ORMs like Prisma that hides the database and SQL logic.
Since building a SQL generator (https://aihelperbot.com) as a side project, I have become much more proficient in SQL and even though I am also locked into Prisma, I use the `queryRaw` all the time to execute raw SQL queries. You can understand the code without knowing Prisma API. It is more performant. For more complex SQL queries, I use the SQL generator for initial suggestions and adapt if needed.
For the next projects I build I want to use the minimal Postgres client (https://github.com/brianc/node-postgres) combined with a lightweight migration library.
-
Using AI I have departed from ORM and embraced SQL
For newer projects I use the small Postgres client. Initially my leap into SQL was lead by AI but as I refreshed and relearned SQL, I now use a mixture of AI and self-written SQL queries. Something like this is just easier to have AI do the grunt work and then adjustment as needed.
-
Credentials Leak with Knex
This was a known issue for pg developers, and they managed to fix it a long time ago (at the pg level), but the knowledge of this problem didn't reach Knex maintainers.
-
Why SQL is right for Infrastructure Management
Integrate the database into your application itself with a postgres client library allowing your applications to make infrastructure changes (like provisioning sharded resources for a client that wants isolation, or using a more accurate forecasting model to pre-allocate more resources before the storm hits).
-
What is your development stack for 2023?
node-postgres (raw sql, without ORM)
node
- Node 22.0.0 Just Released
-
Google Authentication in Nodejs using Passport and Google Oauth
You should have Nodejs installed on your laptop and if not, check the Node.js official website, and download/ install the latest and stable release.
-
Getting an error when using @ValidateNested decorator in NestJs
[Nest] 60017 - 04/22/2024, 1:07:48 PM ERROR Error [ERR_INTERNAL_ASSERTION]: Error: BSONError: Cannot create Buffer from undefined at Object.toLocalBufferType at Object.toHex at ObjectId.toHexString at ObjectId.inspect at ObjectId.[nodejs.util.inspect.custom] at formatValue (node:internal/util/inspect:782:19) at formatProperty (node:internal/util/inspect:1819:11) at formatArray (node:internal/util/inspect:1645:17) at formatRaw (node:internal/util/inspect:1027:14) at formatValue (node:internal/util/inspect:817:10) This is caused by either a bug in Node.js or incorrect usage of Node.js internals. Please open an issue with this stack trace at https://github.com/nodejs/node/issues
- Node.js Task Runner
-
Avoiding lock-in for your image pipeline with Nuxt Image and Netlify Image CDN
Node.js
-
The Object model in EmberJS.
To install and run Ember.js, you'll need to follow these steps: Install Node.js and npm (Node Package Manager) on your computer. You can download the latest version of Node.js from the official website. Once Node.js and npm are installed, open a terminal window and run the following command to install the Ember.js command line interface (CLI):
-
URL shortening using CLI
NodeJS - Link
-
Next.js vs Node.js: A Modern Contrast
To get involved in the Node.js developer community, you can join community discussions or begin with learning if you’re new. The community discussion houses a GitHub list of issues related to Node.js' core features. If you want to chat in real time about Node.js development, there are Slack groups, and you can still connect with IRC clients or web clients when using the browser. Node.js has a calendar for public meetings.
-
Build a Discord Bot with Discord.js V14: A Step-by-Step Guide
Download the latest version from the Node.js website, open the package installer, and follow the instructions Use a package manager like Homebrew with the command brew install node On Linux, you can consult this page to determine how you should install Node.
-
Node.js 20.6 adds built-in support for .env files
As with all experimental things, a few things are missing. Some of these might lead to people using dotenv until support for these gets added. I will mention them here and let you see if they are dealbreakers. You can also follow the GitHub issue to track missing feature support.
What are some alternatives?
Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
Svelte - Cybernetically enhanced web apps
MySQL - A pure node.js JavaScript Client implementing the MySQL protocol.
widevine-l3-decryptor - A Chrome extension that demonstrates bypassing Widevine L3 DRM
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
source-map-resolve - [DEPRECATED] Resolve the source map and/or sources for a generated file.
MongoDB - The official MongoDB Node.js driver
sharp-libvips - Packaging scripts to prebuild libvips and its dependencies - you're probably looking for https://github.com/lovell/sharp
Aerospike - Node.js client for the Aerospike database
nodejs.dev - A redesign of Nodejs.org built using Gatsby.js with React.js, TypeScript, and Remark.
Redis - 🚀 A robust, performance-focused, and full-featured Redis client for Node.js.
hashlips_art_engine - HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.