Skip to main content

Fundamentals of CockroachDB with TypeORM

In this course, you will build a full-stack ride-sharing application in TypeScript using Node.js with TypeORM backed by CockroachDB

  • Course Number

  • Self-Paced

  • Estimated Effort

    2 hrs/week

About This Course

In this course, you will build a full-stack ride-sharing application in JavaScript using Node.js with TypeORM. You will start with a simple version that manages a fleet of scooters and their current positions. You will add features one by one as the course progresses until you have a highly functional application that is ready to track vehicles and users at scale.

Along the way, you will learn how to:

  • Model your data in TypeORM
  • Perform transactions such as adding, removing, and updating rows

For this course, you’ll be using CockroachDB Serverless, which is our database-as-a-service offering.


Before taking this course, you should have experience with Node.js and application development.

It is helpful but not required to be familiar with SQL.

If you’ve never used CockroachDB Serverless before, we would also suggest taking our “Introduction to Serverless Databases and CockroachDB Serverless” course first.

Detailed course outline

  • Welcome
  • Installation and Setup
      • Install CockroachDB
      • Set up a serverless CockroachDB cluster
  • Getting started
      • Introducing MovR
      • Getting started with MovR labs
      • Lab: Create your first table and load data
  • Developing your application
      • MovR Application Architecture
        • Lab: Configure and start MovR
      • Entity Models and CRUD Operations
        • Modeling, reading and writing data
        • Implementing controller methods
        • Lab: Add Vehicles in the MovR Application
        • Lab: Delete Vehicles in the MovR Application
      • Table and Entity Relationships
        • Creating Table Relationships in SQL
        • Defining Entity Relationships
        • Lab: Track Location History
      • Creating and Altering Tables
        • Using Arrays and Altering Tables
        • Lab: Create Database Tables for Users and Rides
        • Lab: Add Users and Rides to the MovR Application
  • Final Exam
  • Wrapping up

Course Staff

Alex Yarosh
Alex Yarosh
Senior Curriculum Developer @ Cockroach Labs
Will Cross
Will Cross
Staff Curriculum Developer @ Cockroach Labs

Frequently Asked Questions

What web browser should I use?

The Open edX platform works best with current versions of Chrome, Edge, Firefox, Internet Explorer, or Safari.

See our list of supported browsers for the most up-to-date information.