stimw
TTCTheo's Typesafe Cult
•Created by stimw on 2/9/2024 in #questions
RSC or api folder?
This question might sound a bit silly: If using RSC, what kind of asynchronous requests should still be placed in the api folder?
3 replies
TTCTheo's Typesafe Cult
•Created by stimw on 5/26/2023 in #questions
Is there any other examples of Server-Sent Events for page router & trpc?
I only find a https://github.com/vercel/next.js/discussions/48427
2 replies
TTCTheo's Typesafe Cult
•Created by stimw on 5/10/2023 in #questions
How do you do cypress component testing?
it's hard to handle the tailwind css...
Or there is a solution, but it may be too troublesome.
Maybe not caring about style is the best choice?
5 replies
TTCTheo's Typesafe Cult
•Created by stimw on 5/2/2023 in #questions
What is the best practice for secret manager?
If I need to get secrets from AWS parameter store or Azure Key Vault, I have some approaches:
1. Inject when running the docker build, but less safe (https://devops.stackexchange.com/questions/3902/passing-secrets-to-a-docker-container/3904#comment8152_3904)
2. Always fetch the secret, but I'm not sure how to handle this properly.
I may prefer the former.
2 replies
TTCTheo's Typesafe Cult
•Created by stimw on 4/22/2023 in #questions
Prisma: not a good choice for MongoDB?
https://github.com/prisma/prisma/releases/tag/3.10.0
The embedded document is still a preview feature...I'm not sure how many problems there are.
But if I can't use embedded document, why do I use MongoDB?
3 replies