Diogo
Explore posts from serversTTCTheo's Typesafe Cult
•Created by Diogo on 11/17/2023 in #questions
Unsafe assignment of an `any` value. on Auth Options
8 replies
CDCloudflare Developers
•Created by Diogo on 10/31/2023 in #general-help
Stack Suggestions!!!
For a web app with the following functionality:
- User authentication with an auth provider
- Fetching specific information from the same service's API
- Displaying this information to the user
- Allowing users to download this information as an image, with the data overlaid on a specific background
- In the future I also want to allow the users to change the information font/color, swap backgrounds... (kind of like an image editor)
What web development stack would you recommend? I've only used Vercel and Next.js, but from what I've seen, Next.js doesn't work very well on cloudflare pages or any other hosting provider outside of Vercel, i want to explore/use new stuff like Remix, HTMX, and web frameworks (Hono/Elysia), so i can use different stuff outside of Next.js in the future. Any advice and suggestions, particularly related to efficient caching to avoid rate limits, would be greatly appreciated.
2 replies
TTCTheo's Typesafe Cult
•Created by Diogo on 6/23/2023 in #questions
PlanetScale vs Supabase
Hi, i am building a blog SaaS, that let's users build their own blogs, but i can't decide whether to supabase or planetscale, supabase charges via bandwidth, and planet is based on number of requests, if got a lot of users, it would result in more blogs and more blog posts, that i cant control the length, i can limit but shouldn't ( who would limit the number of words their users posta can have? ), supabase bill would start to add up, everytime someone visited the blog poston the web, meanwhile with planetscale i wouldnt have that problem since its request based, i love that supabase offers auth and realtime features ( something i need for the app), and i could always cache the responses on NextJs, which would limit the amount of calls to the DB, resulting in less bandwidth being transfered, what are your thoughts?
3 replies
TTCTheo's Typesafe Cult
•Created by Diogo on 3/24/2023 in #questions
Why .cjs?!
One quick question, is there a specific reason why t3 uses .cjs files? ( For tailwind and postcss )
2 replies
TTCTheo's Typesafe Cult
•Created by Diogo on 2/16/2023 in #questions
Attempted to access server-side environment variable 'NODE_ENV' on the client Error
14 replies