Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add nuxt-pglite #1126

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

sandros94
Copy link
Contributor

πŸ”— Linked issue

Resolves #1125

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

A Nuxt module aimed to simplify the use of PGlite.

PGlite, an Embeddable Postgres Run a full Postgres database locally in WASM with reactivity and live sync.

It probides a series of composables, plugins and server utils to support PGlite both in the browser and on the server.

Key features:

  • RLS support
  • Web Workers by default in browser env
  • Full type support for a better DX

Automatic extensions installation with support for things like:

  • live: to subscribe reactively to a particular query.
  • Sync: to sync a subset of a remove Postgres database for offline-first implementations.
  • vector: for vector similarity searches

@pi0
Copy link
Member

pi0 commented Dec 11, 2024

Nice work! One important point is that for server-side, you can actually leverage built-in db layer ~> sandros94/nuxt-pglite#7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Module Listing Request]: nuxt-pglite
2 participants