Node.js
Supported projects
The following projects are recommended for implementing Node applications using the YugabyteDB YSQL and YCQL APIs.
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:
node -v -
Create a node.js project
Create a file with the
.jsextension (for exampleapp.js), which can be run using the following command: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.
