
Turso Has a Free API — SQLite at the Edge with Embedded Replicas
Turso is SQLite for production — a distributed database that runs at the edge with embedded replicas. Your data lives close to your users, reads are instant, and you get a generous free tier. Why Turso? SQLite at the edge — replicas in 30+ locations worldwide Embedded replicas — sync a local SQLite copy into your app for zero-latency reads Free tier — 9GB storage, 500 databases, 25M row reads/month libSQL — open-source fork of SQLite with extensions Quick Start # Install CLI brew install tursodatabase/tap/turso # Login turso auth login # Create database turso db create myapp # Get connection URL turso db show myapp --url # Create auth token turso db tokens create myapp Using with TypeScript npm install @libsql/client import { createClient } from ' @libsql/client ' ; const db = createClient ({ url : ' libsql://myapp-username.turso.io ' , authToken : process . env . TURSO_AUTH_TOKEN , }); // Create table await db . execute ( ` CREATE TABLE IF NOT EXISTS users ( id INTEGER PRIMARY KEY AUT
Continue reading on Dev.to Tutorial
Opens in a new tab



