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

Making Pentagon KV-store agnostic #42

Open
skoshx opened this issue Dec 15, 2023 · 0 comments
Open

Making Pentagon KV-store agnostic #42

skoshx opened this issue Dec 15, 2023 · 0 comments

Comments

@skoshx
Copy link
Owner

skoshx commented Dec 15, 2023

I think Pentagon is really great for quickly prototyping apps. To that end, sometimes it's just not plausible to use Deno to create the projects, and as such it would be great to be able to run Pentagon with other KV-stores (such as Redis).

Ideally, we would have some API like the following:

import { vercelStorage } from '...'
import { redisStorage } from '...'

const db = createPentagon({
  ...
  storage: vercelStorage({ ... }) // or redisStorage({ ... })
})

If possible, ideally we would use something like Unstorage, since they have already a lot of great drivers built, although im not 100% sure if their architecture can acommodate Pentagon.

@skoshx skoshx mentioned this issue Dec 15, 2023
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

No branches or pull requests

1 participant