Back to Turso

Remote

packages/turso-serverless/examples/remote-compat/README.md

0.5.3307 B
Original Source

Remote

This example demonstrates how to use Turso Cloud.

Install Dependencies

bash
npm i

Running

Execute the example:

bash
TURSO_DATABASE_URL="..." TURSO_AUTH_TOKEN="..." node index.mjs

This will connect to a remote SQLite database, insert some data, and then query the results.