---
title: "From Prisma Founder to LiveStore: Building local-first apps with Johannes Schickling"
url: "https://aaronfrancis.com/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling"
path: "/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling"
type: video
author: Aaron Francis
published: 2025-05-29
topic: Databases
keywords: [local-first, livestore, event sourcing, johannes schickling, prisma, sqlite, riffle, distributed systems, data syncing, materializers, time travel debugging, schema changes]
youtube_url: "https://www.youtube.com/watch?v=aKTbGIrkrLE"
chunked: true
full_bytes: 79480
section_count: 20
full_url: "/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/full.md"
site_index: "/llms.txt"
keyword_index: "/llms/keywords.txt"
---

# From Prisma Founder to LiveStore: Building local-first apps with Johannes Schickling

## Sections (77.6 KB full document — follow any link to read verbatim)

This page is long enough to hit agent truncation cliffs if fetched all at once. Pick the section matching your question below to read it 100% verbatim (< 35 KB each), or open the [full unsplit document (77.6 KB)](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/full.md).

### 1. Intro to Johannes (00:01–01:11 · 1.2 KB)
Johannes Schickling, original Prisma founder, introduces himself and his current projects: Livestore (a local-first data layer) and Overtone (a third-party music client).
Keywords: `johannes`, `intro`, `data layer`, `data`, `schickling`, `app`, `database`, `prisma`
[Read section 1 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/1-intro-to-johannes.md)

### 2. From Prisma to LiveStore (01:11–03:20 · 2.3 KB)
After leaving Prisma in 2020, Johannes took a sabbatical, explored local-first concepts through conversations with Pieter van Hardenberg at Ink & Switch, and became interested in SQLite-based architecture.
Keywords: `livestore`, `prisma`, `phd`, `sqlite`, `schickling`, `exploring`, `music`, `app`
[Read section 2 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/2-from-prisma-to-livestore.md)

### 3. Discovering local-first through Riffle (03:20–05:12 · 2.1 KB)
Johannes got involved in a friend's MIT PhD thesis on Riffle, which combined SQLite with JavaScript state management reactivity, leading to Livestore as the successor project after four+ years of development.
Keywords: `local-first`, `riffle`, `discovering local-first`, `sqlite`, `discovering`, `state management`, `schickling`, `mobx`
[Read section 3 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/3-discovering-local-first-through-riffle.md)

### 4. What is local-first and who is it for? (05:12–07:10 · 2.2 KB)
Local-first spans two camps: pragmatists focused on syncing benefits (Electric SQL, Zero) and idealists pursuing Ink & Switch's seven principles of data ownership and user agency.
Keywords: `local-first`, `schickling`, `great technologies`, `sqlite`, `landscape`, `space`, `technologies`, `data`
[Read section 4 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/4-what-is-local-first-and-who-is-it-for.md)

### 5. Why local-first is gaining popularity (07:10–10:15 · 3.3 KB)
Local-first gained traction as apps like Linear demonstrated that fast, snappy user experiences require keeping data local, and developers exhausted permutations of web frameworks sought architectural innovation.
Keywords: `local-first`, `gaining popularity`, `gaining`, `popularity`, `schickling`, `et cetera`, `data`, `sync engine`
[Read section 5 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/5-why-local-first-is-gaining-popularity.md)

### 6. The inspiration from apps like Linear (10:15–13:05 · 3.0 KB)
Linear's exceptional product experience and snappy UI inspired the local-first movement by showing that keeping data local is essential, while traditional web architecture went largely unchanged for decades despite API improvements.
Keywords: `linear`, `inspiration`, `schickling`, `sqlite`, `local-first`, `landscape`, `laravel`, `experience`
[Read section 6 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/6-the-inspiration-from-apps-like-linear.md)

### 7. Gaps in local-first tooling in 2020 (13:05–16:05 · 3.3 KB)
In 2020, few local-first technologies existed (CouchDB, Realm); earlier attempts like Realm lacked modern enablers like WASM and felt problems, but new technologies have since emerged as developers experienced the data layer bottleneck.
Keywords: `local-first`, `local-first tooling`, `gaps`, `tooling`, `schickling`, `og local-first`, `et cetera`, `technologies`
[Read section 7 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/7-gaps-in-local-first-tooling-in-2020.md)

### 8. Social apps vs. user-centric apps (16:05–18:00 · 2.0 KB)
Data is the bottleneck for ambitious apps since UI frameworks (React, Svelte, SwiftUI) are well-solved, but there's no data equivalent; local-first and syncing promise the missing data framework analogous to React's impact on UIs.
Keywords: `social apps`, `apps vs`, `user-centric apps`, `social`, `user-centric`, `solved problem`, `data`, `react`
[Read section 8 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/8-social-apps-vs-user-centric-apps.md)

### 9. Distributed systems and why they’re hard (18:01–21:14 · 3.2 KB)
Livestore is opinionated about architecture (tenant-based, local-first) unlike Prisma's unopinionated approach; it targets apps where data fits locally on a device or within a team/group rather than massive social networks.
Keywords: `distributed systems`, `livestore`, `typescript`, `distributed`, `systems`, `notes app`, `schickling`, `data`
[Read section 9 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/9-distributed-systems-and-why-theyre-hard.md)

### 10. The value of embracing local-first (21:14–24:27 · 3.2 KB)
Distributed systems are computer science's hardest problems (caching, cache invalidation, optimistic updates); apps accidentally become databases managing data messy; Livestore aims to let developers use an actual database to tame this chaos.
Keywords: `embracing`, `embracing local-first`, `local-first`, `schickling`, `database`, `data`, `mm-hmm`, `optimistic updates`
[Read section 10 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/10-the-value-of-embracing-local-first.md)

### 11. What LiveStore is and what it's not (24:27–26:06 · 1.6 KB)
Livestore is a SQLite-centric client-side data layer supporting cross-device and cross-user syncing via event sourcing; it replaces MobX/Redux on the client and the backend data layer for tenant-based applications.
Keywords: `livestore`, `mobx`, `data`, `schickling`, `linear-esque`, `replaces`, `view`, `tenant`
[Read section 11 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/11-what-livestore-is-and-what-its-not.md)

### 12. Event sourcing as the core of LiveStore (26:06–30:09 · 4.2 KB)
Livestore uses event sourcing where instead of syncing SQL statements, you commit domain events (e.g., 'UserSignedUp' with context) and sync those events, enabling conflict resolution and schema migrations through event replay.
Keywords: `event sourcing`, `livestore`, `event`, `sourcing`, `sqlite`, `core`, `web app`, `schickling`
[Read section 12 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/12-event-sourcing-as-the-core-of-livestore.md)

### 13. Benefits of event sourcing for apps (30:09–33:03 · 3.0 KB)
Event sourcing captures domain facts rather than snapshots; Martin Kleppmann's 'Turning the Database Inside Out' and Redux ideas apply here, enabling trivial schema migrations by replaying events against new schemas.
Keywords: `event sourcing`, `event`, `sourcing`, `benefits`, `sqlite`, `schickling`, `database`, `sql statement`
[Read section 13 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/13-benefits-of-event-sourcing-for-apps.md)

### 14. Schema changes and time travel via events (33:04–37:01 · 3.9 KB)
Event sourcing provides time-travel debugging like Redux DevTools and eliminates painful schema migrations; you discard the local SQLite database, replay the event log, and apply it to the new schema automatically.
Keywords: `time travel`, `travel`, `schema changes`, `livestore`, `sqlite`, `schema`, `events`, `schickling`
[Read section 14 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/14-schema-changes-and-time-travel-via-events.md)

### 15. Materializers and how they work (37:01–43:20 · 6.9 KB)
Materializers are callback functions returning SQL statements that apply events to the SQLite database; different clients can materialize the same events differently (e.g., admin dashboard with count tables versus user app with full todos).
Keywords: `sqlite`, `livestore`, `onclick`, `materializers`, `event log`, `schickling`, `event`, `sqlite database`
[Read section 15 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/15-materializers-and-how-they-work.md)

### 16. Syncing data across clients and devices (43:20–48:00 · 4.9 KB)
Events commit to a separate append-only SQLite event log; materializers then apply those events to the application database; changing schema involves updating materializers, and the app replays the event log on next boot.
Keywords: `clients`, `syncing data`, `data`, `sqlite`, `javascript`, `livestore`, `syncing`, `devices`
[Read section 16 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/16-syncing-data-across-clients-and-devices.md)

### 17. Sync servers and cross-tab communication (48:01–54:07 · 6.9 KB)
Within the browser, a SharedWorker acts as a mini local sync backend connecting multiple tabs; push/pull requests sync events to a centralized sync server, which propagates changes across clients and devices.
Keywords: `sync`, `sync servers`, `cross-tab communication`, `livestore`, `servers`, `cross-tab`, `communication`, `pure function`
[Read section 17 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/17-sync-servers-and-cross-tab-communication.md)

### 18. Architecture choices and dev tooling (54:07–59:11 · 5.6 KB)
The web's SharedWorker enables cross-tab state synchronization via transferable primitives, acting as a local sync hub; the sync server concept is simple: an endpoint receiving push/pull requests for events since a given event ID.
Keywords: `architecture choices`, `dev tooling`, `livestore`, `sqlite`, `architecture`, `choices`, `dev`, `tooling`
[Read section 18 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/18-architecture-choices-and-dev-tooling.md)

### 19. State of the project and future vision (59:12–1:06:19 · 8.0 KB)
Livestore is in beta after 4+ years of development through Riffle and two years of productionalization with syncing; it's opinionated for specific use cases with trade-offs, targeting apps where data fits locally rather than massive social graphs.
Keywords: `future vision`, `websocket`, `vision`, `schickling`, `livestore`, `sync backend`, `sync server`, `sync`
[Read section 19 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/19-state-of-the-project-and-future-vision.md)

### 20. How to get involved (1:06:19–1:12:32 · 6.9 KB)
Livestore aims for 1.0 in roughly a year; Johannes is building a community of contributors, invites interested developers to check out Livestore and his Local First FM podcast covering the broader local-first ecosystem.
Keywords: `github`, `involved`, `schickling`, `open source`, `johannes`, `mm-hmm`, `four years`, `sounds interesting`
[Read section 20 verbatim](/videos/from-prisma-founder-to-livestore-building-local-first-apps-with-johannes-schickling/sections/20-how-to-get-involved.md)

---

## Related on aaronfrancis.com

- [99 Dev Problems with Aaron Francis](/podcast/99-dev-problems-with-aaron-francis-04ae9c5b) *(Podcast · 2025-01-16 · shared: sqlite, prisma)*
- [Remix with Kent C. Dodds](/podcast/remix-with-kent-c-dodds-528af99d) *(Podcast · 2022-06-27 · shared: sqlite, prisma)*
- [Rewriting SQLite from scratch (yes, really)](/videos/rewriting-sqlite-from-scratch-yes-really) *(Video · 2025-08-08 · shared: sqlite, schema changes)*
- [Offline-first, multiplayer SQLite](/videos/offline-first-multiplayer-sqlite) *(Video · 2024-06-10 · shared: event sourcing, local-first)*
- [About](/about) *(Page · 2026-11-25 · shared: sqlite)*

## Relevant Resources from Aaron Francis

- **[MySQL for Developers](https://databaseschool.com)** (overview on site: [/courses](/courses)): Full video course covering MySQL indexing, deferred joins, pagination, query plans, and schema design for application developers.
- **[High Performance SQLite](https://databaseschool.com)** (overview on site: [/courses](/courses)): Comprehensive video course on running SQLite in production: WAL mode, concurrency, FTS5, strict tables, backups, and performance tuning.

## Search aaronfrancis.com (2-Hop Static Keyword Index)

Pick the alphabetical shard matching any topic to find exact pages across all articles, newsletters, videos, talks, and podcast transcripts (every shard is < 40 KB):
[A-B](/llms/keywords/a-b.txt) · [C](/llms/keywords/c.txt) · [D-E](/llms/keywords/d-e.txt) · [F-G](/llms/keywords/f-g.txt) · [H-J](/llms/keywords/h-j.txt) · [K-L](/llms/keywords/k-l.txt) · [M-N](/llms/keywords/m-n.txt) · [O-P](/llms/keywords/o-p.txt) · [Q-R](/llms/keywords/q-r.txt) · [S](/llms/keywords/s.txt) · [T-Z](/llms/keywords/t-z.txt) · [Directory](/llms/keywords.txt) · [Site Map](/llms.txt)

Shards for this page's topics: `local-first` ([K-L](/llms/keywords/k-l.txt)), `event sourcing` ([D-E](/llms/keywords/d-e.txt)), `johannes schickling` ([H-J](/llms/keywords/h-j.txt)), `prisma` ([O-P](/llms/keywords/o-p.txt)).

## About Aaron Francis (Current Context)

Aaron Francis is VP of Marketing and Community at [Laravel](https://laravel.com), founder of [Try Hard Studios](https://tryhardstudios.com), creator of [Solo](https://soloterm.com), co-host of [Mostly Technical](/podcast), and author of [Mastering Postgres](/courses), [High Performance SQLite](/courses), [MySQL for Developers](/courses), and [Screencasting.com](/courses). Full bio: [/about](/about) · Current focus: [/now](/now).
