https://github.com/ga1az/react-local-first-wa-sqlite
PowerSync with Kysely as a query builder and wa-sqlite for local data persistence in the browser
https://github.com/ga1az/react-local-first-wa-sqlite
kysely local-first offline-first powersync wa-sqlite
Last synced: 6 months ago
JSON representation
PowerSync with Kysely as a query builder and wa-sqlite for local data persistence in the browser
- Host: GitHub
- URL: https://github.com/ga1az/react-local-first-wa-sqlite
- Owner: ga1az
- Created: 2025-07-05T23:05:38.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-07-13T21:44:03.000Z (7 months ago)
- Last Synced: 2025-07-31T09:57:15.897Z (7 months ago)
- Topics: kysely, local-first, offline-first, powersync, wa-sqlite
- Language: TypeScript
- Homepage:
- Size: 344 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PowerSync + Kysely + wa-sqlite Demo
A minimal example demonstrating how to use PowerSync with Kysely as a query builder and wa-sqlite for local data persistence in the browser.
> This demo not include the PowerSync server, it's just a demo of how to use PowerSync with Kysely and wa-sqlite in the browser.
## Overview
This project showcases a simple user management interface that stores data locally using:
- **PowerSync** - Local-first sync engine with offline support
- **Kysely** - Type-safe SQL query builder for TypeScript
- **wa-sqlite** - WebAssembly SQLite implementation for browsers
- **React** - UI framework with TanStack Router
- **Tailwind CSS** - Utility-first CSS framework
## Features
- ✅ Local data persistence using SQLite in the browser
- ✅ Type-safe database queries with Kysely
- ✅ Real-time UI updates with PowerSync's reactive queries
- ✅ Offline-first architecture
