Discover PGLite, a groundbreaking 3MB WASM build of PostgreSQL that runs directly in your browser! This tutorial demonstrates how to build a React to-do app with PGLite, featuring reactive queries and IndexedDB persistence. Learn about full-text search capabilities, multi-tab support, and integration with popular frameworks. Perfect for developers looking to harness PostgreSQL's power on the client side.
🔗 Relevant Links
PGLite - https://pglite.dev/
Electric - https://electric-sql.com/
IndexedDB Doc - https://pglite.dev/docs/filesystems#i...
PGLite benchmarks - https://pglite.dev/docs/filesystems#i...
PGLite limitations - https://supabase.com/blog/database-bu...
In browser vector search - https://github.com/huggingface/transf...
❤️ More about us
Radically better observability stack: https://betterstack.com/
Written tutorials: https://betterstack.com/community/
Example projects: https://github.com/BetterStackHQ
📱 Socials
Twitter: / betterstackhq
Instagram: / betterstackhq
TikTok: / betterstack
LinkedIn: / betterstack
📌 Chapters:
0:00 - Intro to PGLite
0:18 - Technical Overview
0:48 - React Project Demo
1:36 - Data Persistence Options
2:01 - Advanced Features
2:16 - Current Limitations
2:44 - Future Applications