Skip to content

Making Pentagon KV-store agnostic #42

@skoshx

Description

@skoshx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions