p6l.richard
Explore posts from serversTTCTheo's Typesafe Cult
•Created by p6l.richard on 7/3/2023 in #questions
Has anyone used UploadThing to self-host file uploads in a CMS?
I wonder if anyone uses
UploadThing
as their file upload storage for an open-source headless CMS such as payload or strapi that allow you to self-host your data as well.
Oftentimes, these providers either offer their own cloud deployment, or S3. I'm scared of AWS but possibly more of some CMS-deployment offering.
I wonder if anyone has foreaged into this realm already. 🙂2 replies
TTCTheo's Typesafe Cult
•Created by p6l.richard on 11/12/2022 in #questions
[Tailwind&Prisma] How can you tie a tailwind color configuration to a prisma enumâť“
Context:
- You persist a user setting in your db, e.g. “primaryColor”
- The CSS styles for this are applied via tailwindcss
Problem:
- I don’t want to store stuff like “primaryColorDark” as well in the DB -- tailwind’s config is my source of truth for that
- However, adding a color now requires a whole db migration
29 replies
TTCTheo's Typesafe Cult
•Created by p6l.richard on 10/3/2022 in #questions
What are your preferred methods to offer account deletion?
Building on this GH discussion on nextauth:
https://github.com/nextauthjs/next-auth/discussions/3935
Do you currently add your own with CSRF etc.? Would be curious to know if anyone here has some strong opinions on that.
2 replies
TTCTheo's Typesafe Cult
•Created by p6l.richard on 10/2/2022 in #questions
Is there a way to add only a specific addon to an already existing ct3a app?
Imagine I didn't select next-auth at the start and would like to add it later -- any command for that?
Is this codemod the recommended way?
https://github.com/kroucher/ct3a-codemod
6 replies