dollahane23033
dollahane23033
Explore posts from servers
TTCTheo's Typesafe Cult
Created by dollahane23033 on 5/11/2024 in #questions
weird query behaviour
No description
2 replies
TTCTheo's Typesafe Cult
Created by dollahane23033 on 5/5/2024 in #questions
application running costs
Anyone done a costing sheet for calculating the per user cost (at enterprise level) of their app with all the bells and whistles (excluding payment costs)? I’ve done got a rough estimate of $0,1 per user
2 replies
DTDrizzle Team
Created by dollahane23033 on 10/31/2023 in #help
Populating a relational database
No description
7 replies
TTCTheo's Typesafe Cult
Created by dollahane23033 on 10/19/2023 in #questions
Update notification state
Is using state managers to update state while values are updated on the database a safe production ready solution? I’m implementing a notification button with the number of unread notifications on it and I’m not too keen on using Redux to “mock” the values. Is that an industry standard way of doing things or is there a better way ?
2 replies
TTCTheo's Typesafe Cult
Created by dollahane23033 on 9/22/2023 in #questions
No overload matches
I'm using drizzle and getting the an overload error. Is this the correct way of passing data to the insert function?: const { category, price, title, brand, model, description, images, location, meetup } = MintValidator.parse(body)
const post = await db.insert(listingsGeneral).values({ authorId: authorId, createdAt: formattedCurrentDate, expirationDate: formattedExpirationDate, purgeDate: formattedPurgeDate, category: category, price: price, title: title, brand: brand, model: model, description: description, images: 'imageURL', location: location, meetup: meetup, isAvailable: true, })
1 replies
TTCTheo's Typesafe Cult
Created by dollahane23033 on 9/20/2023 in #questions
How to get value from Shadcn "Select" component
Hey guys I'm mapping some categories and sub-categories over a shadcn select component in a form. My list of categories and subs is getting quite long so i want to use to Select components. I've tried a couple ways trying to get the main category name with useState to map its subcategory list into the second Select component but I'm struggling a bit. Has anyone done this before?
3 replies
TTCTheo's Typesafe Cult
Created by dollahane23033 on 9/16/2023 in #questions
callbackUrl=%2F&error=OAuthAccountNotLinked
Anyone run into this before with Google Provider? Heres the link to the repo: https://github.com/DollaHane/PepperMint. The user is created in the db on sign-in but I've got no session. Also the "session", "account" and "tokenVerification" tables are still empty after sign-in. This is my redirect URI: http://localhost:3000/api/auth/callback/google
5 replies
TTCTheo's Typesafe Cult
Created by dollahane23033 on 9/11/2023 in #questions
Drizzle / PlanetScale Table Relations
Does anyone possibly have a link to a repo I can take a look at to see how relations are setup with Drizzle ORM and PlanetScale as the database?
14 replies
TTCTheo's Typesafe Cult
Created by dollahane23033 on 8/13/2023 in #questions
error uploading images in production, works in development
3 replies
TTCTheo's Typesafe Cult
Created by dollahane23033 on 7/8/2023 in #questions
import mysql into planetscale
2 replies
TTCTheo's Typesafe Cult
Created by dollahane23033 on 5/14/2023 in #questions
request.query help needed.
4 replies
TTCTheo's Typesafe Cult
Created by dollahane23033 on 4/29/2023 in #questions
Cloudinary Image Render Issue
Has anyone had an issue where your web app doesnt fetch images from Cloudinary after production deployment? Uploading & displaying works fine in localhost but in production the images only upload, then only appear when i redeploy after upload (hosted on Vercel). I'm also pulling data from PlanetScale and that works fine in production.
1 replies
TTCTheo's Typesafe Cult
Created by dollahane23033 on 4/14/2023 in #questions
NEXT 13 Compile Time
8 replies