Docs Menu

Atlas Device SDK for Node.js

Use the Atlas Device SDK for Node.js to build for server applications, desktop applications, CLIs, IoT programs, and more in JavaScript or TypeScript.

The Node.js SDK does not support applications written for web browsers. For Web apps, use the Web SDK. For React Native development, use the React Native SDK.

To get started with the Node.js SDK, see Quick Start.

What You Can Do

Use the SDK's open-source database - Realm - as an object store on the device. Use Device Sync to keep data in sync with your MongoDB Atlas cluster and other clients.

Essential Documentation
Atlas Device SDK Icon

JavaScript API Reference

Explore generated reference docs for the Node.js SDK.

Node.js Reference

Explore engineering and expert-provided example projects to learn best practices and common development patterns using the Node.js SDK. Check out the Example Projects page for more Node.js sample apps.

Virtual Space Icon

Vehicle Simulator and Controller

Build a connected platform to monitor vehicle analytics using MongoDB Atlas and the AWS ecosystem.

Example project

Atlas Device SDK Offline Icon

Offline Login and Database Access

Log in a Device Sync user and open a synced database offline.

Example project

Users Icon

User's Online State

Detect connectivity and activity of users and devices.

Example project

Cloud Mobile Transfer Icon

Connection State Change & Error Handling

Learn best practices around handling Sync errors and client reset strategies.

Example project