Back to Yugabyte Db

Node.js drivers and ORMs

docs/content/stable/develop/drivers-orms/nodejs/_index.md

2026.1.0.0-b252.3 KB
Original Source

Supported projects

The following projects are recommended for implementing Node applications using the YugabyteDB YSQL and YCQL APIs.

ProjectDocumentation and GuidesLatest Driver VersionSupported YugabyteDB Version
YugabyteDB node-postgres Smart DriverDocumentation
Reference8.7.3-yb-92.8 and above
PostgreSQL node-postgres DriverDocumentation
Reference8.7.32.6 and above
YugabyteDB Node.js Driver for YCQLDocumentation4.0.0
ProjectDocumentation and GuidesExample Apps
SequelizeDocumentation
Hello WorldSequelize ORM App
PrismaDocumentation
Hello World
Prisma ORM App
TypeORMDocumentation

Learn how to establish a connection to a YugabyteDB database and begin basic CRUD operations by referring to Connect an app or Use an ORM.

Prerequisites

To develop Node.js applications for YugabyteDB, you need the following:

  • Node.js

    To download and install Node.js, refer to the Node.js documentation.

    To check the version of node, use the following command:

    sh
    node -v
    
  • Create a node.js project

    Create a file with the .js extension (for example app.js), which can be run using the following command:

    sh
    node app.js
    
  • YugabyteDB cluster

    • Create a free cluster on YugabyteDB Aeon. Refer to Use a cloud cluster. Note that YugabyteDB Aeon requires SSL.
    • Alternatively, set up a standalone YugabyteDB cluster by following the steps in Install YugabyteDB.

Next step

Connect an app