SupersaasHQ / lemonrepo

Sell access to private GitHub repositories using Lemonsqueezy & NuxtHub
https://supersaas.dev/lemonrepo
207 stars 24 forks source link

Move testimonials to KV #1

Open fayazara opened 2 months ago

fayazara commented 2 months ago

Make a CRUD action to Read, Create, Update and Delete testimonials from our KV store

lakshay-saini-au8 commented 2 months ago

@fayazara I am up to contribute to this Possible to guide for the feature to implement

fayazara commented 2 months ago

Hey @lakshay-saini-au8 Sure, Basically we'd need to create a new key called testimonials and store an array of objects in the below format

[
  {
      title: "Super Powerful",
      quote:
        "The stack that Supersaas is built upon is super powerful and easy to work with, especially when used with NuxtHub / Cloudflare. Fayaz has been super helpful in making it work and adopting feedback.",
      author: {
        name: "John Doe",
        description: "Freelancer/Software Engineer",
        avatar: {
          src: "https://pbs.twimg.com/profile_images/985092522329468928/qcfeEMbF_400x400.jpg",
          loading: "lazy",
        },
      },
  }
]

We can just stringify this array and perform CRUD operations on it via the admin settings page.

mubaidr commented 1 month ago

I am willing to work on this. Can you please confirm if this is available to take.

fayazara commented 1 month ago

@mubaidr Sure, please go ahead

mubaidr commented 1 month ago

Awesome! Working on it!