Endgame1013
Endgame1013
TTCTheo's Typesafe Cult
Created by Aryan on 2/25/2024 in #questions
[Turborepo] How to exclude a folder?
Hopefully someone else might be able to chime in here too. I'm in a similar position with a recent project (using pnpm workspaces + turborepo) and would like to know if I'm able to use bun/elysia in the same monorepo.
5 replies
TTCTheo's Typesafe Cult
Created by Aryan on 2/25/2024 in #questions
[Turborepo] How to exclude a folder?
This CLI command might be helpful: https://turbo.build/repo/docs/core-concepts/monorepos/filtering#excluding-workspaces for use-cases like this. Regarding the use of Elysia, I too am interested in how this might work in a pnpm workspace. If I understand correctly, I think you could still install the elysia dependency using pnpm, as long as you use bun run ... to run the code.
5 replies
TTCTheo's Typesafe Cult
Created by ElonMask on 2/15/2024 in #questions
using prisma along with drizzle/kysley
Not sure about generating Drizzle types from Prisma, but you can definitely generate Kysely types from Prisma: https://github.com/valtyr/prisma-kysely
13 replies
TTCTheo's Typesafe Cult
Created by BillyBob on 1/5/2024 in #questions
Why is create-t3-app using TRPCReactProvider and not createTRPCNext?
I think the createTRPCNext function is specific to the /pages directory in Next.js, whereas TRPCReactProvider is supported by the /app directory.
7 replies
TTCTheo's Typesafe Cult
Created by ArrowMember3 on 2/17/2024 in #questions
access denied
If you're using S3 presigned URLs, make sure that you're using the correct AWS access key/secret access key and that the access key has the correct permissions to GET the Object on S3.
3 replies
TTCTheo's Typesafe Cult
Created by gabagoolo on 7/7/2023 in #questions
Tailwind .ts config file intellisense not working
If you have specific error messages, I would suggest checking the issues section on Tailwind’s GitHub repository.
5 replies
TTCTheo's Typesafe Cult
Created by gabagoolo on 7/7/2023 in #questions
Tailwind .ts config file intellisense not working
I’m not sure what specific errors OP was getting, but I know this has been an issue between various versions of both tailwindcss and typescript in the past: https://github.com/tailwindlabs/tailwindcss/issues/10891
5 replies
TTCTheo's Typesafe Cult
Created by ElonMask on 2/15/2024 in #questions
using prisma along with drizzle/kysley
If edge runtimes are a real requirement in your project, I would probably go for Drizzle to be honest. It sounds like you’re not too comfortable with SQL yet, so I think Drizzle would be a good fit.
13 replies
TTCTheo's Typesafe Cult
Created by ElonMask on 2/15/2024 in #questions
using prisma along with drizzle/kysley
I have a few projects where I use Prisma for schema management and Kysely for query building. Unless you’re comfortable with SQL and database management, I would suggest just going with Prisma for schemas and query building or Drizzle.
13 replies
TTCTheo's Typesafe Cult
Created by Naked on 2/11/2024 in #questions
What tools do you use to send sms ?
I second not choosing Twilio. Compliance process was a nightmare and took months to meet compliance with little to no contact for sometimes days on end.
9 replies
TTCTheo's Typesafe Cult
Created by kiran alex ch on 2/13/2024 in #questions
Is it okay If i use Axios Request in Backend ?
Axios works fine in a backend environment like Node.
4 replies
TTCTheo's Typesafe Cult
Created by Temp Change on 2/15/2024 in #questions
Monorepo Deployment Locations
I think Vercel has support for monorepos, but depending on your backend infra, that may or may not work. I've used Linode as my VPS provider in the past and had a really solid experience with them. Hard to go wrong with a cheap VPS like Linode or Digital Ocean for simple projects, especially for monorepos where hosting provider support can be hit-or-miss.
3 replies
TTCTheo's Typesafe Cult
Created by ElonMask on 2/15/2024 in #questions
using prisma along with drizzle/kysley
I would avoid using multiple ORMs/query builders in the same project, if you can. I've done it before and it usually ends in headache. It's best to pick one and commit to it.
13 replies
TTCTheo's Typesafe Cult
Created by Starko00 on 2/15/2024 in #questions
Best place to deploy Bun monorepo server?
That's a solid choice IMO. Coolify also seems like a viable option, though I haven't used it before. Hard to go wrong with a cheap VPS and GitHub actions.
5 replies
TTCTheo's Typesafe Cult
Created by K1|ller on 1/21/2024 in #questions
Extremely slow queries
Yes, please give us an update, especially once you solve this. I'm sure at least one other person in this server has or will have a similar issue.
84 replies
TTCTheo's Typesafe Cult
Created by K1|ller on 1/21/2024 in #questions
Extremely slow queries
You can try that, too. Hopefully someone else may have some ideas, as well. Without seeing your whole setup, it's really hard to tell specifics, unfortunately. I hope I at least got you thinking of some ideas things to try!
84 replies