CockroachDB Videos
← Back to all videos

How to connect to Cockroach Database

2022-08-05

Demos & Tutorials

Description

This is an exercise from the Cockroach University course “Getting Started with Node.js and node-postgres”. In this exercise, we will be creating a Repository layer around our database. We will use this Repository to establish a connection to the database using the node-postgres driver and a connection pool. Learn more about CockroachDB by signing up for free training at Cockroach University: https://university.cockroachlabs.com/ 00:00 Creating a repository for our database 02:39 Creating a vehicle repository class 08:15 How to change the connection string for your production cluster #cockroachdb #distributedsql #distributedsystems