peternovak
peternovak
Explore posts from servers
TTCTheo's Typesafe Cult
Created by peternovak on 10/19/2024 in #questions
Using Cognito in T3?
If anyone is interested in getting some advice regarding this one, please let me know
4 replies
TTCTheo's Typesafe Cult
Created by peternovak on 10/19/2024 in #questions
Using Cognito in T3?
Ok, I have finally gotten this working. The configuration in my file was all good, it was my settings within Cognito that caused the error.
4 replies
TTCTheo's Typesafe Cult
Created by peternovak on 12/31/2023 in #questions
Error message in vanilla /app directory & drizzle project
Thanks a lot @Reineblut , I completely missed that bug report while looking for the answer. 🙏
6 replies
TTCTheo's Typesafe Cult
Created by peternovak on 12/31/2023 in #questions
Error message in vanilla /app directory & drizzle project
This is my package.json: { "name": "drizzle-approuter2", "version": "0.1.0", "private": true, "type": "module", "scripts": { "build": "next build", "db:push": "dotenv drizzle-kit push:mysql", "db:studio": "dotenv drizzle-kit studio", "dev": "next dev", "lint": "next lint", "start": "next start" }, "dependencies": { "@auth/drizzle-adapter": "^0.3.6", "@planetscale/database": "^1.11.0", "@t3-oss/env-nextjs": "^0.7.1", "@tanstack/react-query": "^4.36.1", "@trpc/client": "^10.43.6", "@trpc/next": "^10.43.6", "@trpc/react-query": "^10.43.6", "@trpc/server": "^10.43.6", "drizzle-orm": "^0.28.5", "next": "^14.0.3", "next-auth": "^4.24.5", "react": "18.2.0", "react-dom": "18.2.0", "server-only": "^0.0.1", "superjson": "^2.2.1", "zod": "^3.22.4" }, "devDependencies": { "@next/eslint-plugin-next": "^14.0.3", "@types/eslint": "^8.44.7", "@types/node": "^18.17.0", "@types/react": "^18.2.37", "@types/react-dom": "^18.2.15", "@typescript-eslint/eslint-plugin": "^6.11.0", "@typescript-eslint/parser": "^6.11.0", "autoprefixer": "^10.4.14", "dotenv-cli": "^7.3.0", "drizzle-kit": "^0.20.7", "eslint": "^8.54.0", "mysql2": "^3.6.1", "postcss": "^8.4.31", "prettier": "^3.1.0", "prettier-plugin-tailwindcss": "^0.5.7", "tailwindcss": "^3.3.5", "typescript": "^5.1.6" }, "ct3aMetadata": { "initVersion": "7.25.0" }, "packageManager": "[email protected]" }
6 replies
TTCTheo's Typesafe Cult
Created by peternovak on 12/27/2023 in #questions
Video tutorial for /app router?
Thanks, yeah I know that is the right answer, was just looking for a nice & easy shortcut 🙂
5 replies
TTCTheo's Typesafe Cult
Created by Bhan Singh on 9/23/2023 in #questions
Drizzle and Create-t3
No changes after installing the mysql2 package as I could see
21 replies
TTCTheo's Typesafe Cult
Created by Bhan Singh on 9/23/2023 in #questions
Drizzle and Create-t3
I am connecting the planetscale by logging in through their CLI and using: pscale connect drizzle main --port 3309 In my .env: DATABASE_URL='mysql://[email protected]:3309/drizzle'
21 replies
TTCTheo's Typesafe Cult
Created by Bhan Singh on 9/23/2023 in #questions
Drizzle and Create-t3
No description
21 replies
TTCTheo's Typesafe Cult
Created by Bhan Singh on 9/23/2023 in #questions
Drizzle and Create-t3
No description
21 replies
TTCTheo's Typesafe Cult
Created by vitoananta3 on 9/14/2023 in #questions
❌ Invalid environment variables
Thanks for posting this @vitoananta3 ! I just run into the same problem myself as well.
8 replies
TtRPC
Created by peternovak on 9/12/2023 in #❓-help
Call multiple TRPC endpoints from onSuccess()?
The polygon that I am sending from my frontend is about 300kb, so if I batch these endpoints together I am hitting the cap of 1MB max limit of TRPC (and I didn't manage to figure out how to increase it)
11 replies
TtRPC
Created by peternovak on 9/12/2023 in #❓-help
Call multiple TRPC endpoints from onSuccess()?
How would that kind of structure look like @sachinraja ? Keen to give it a try!
11 replies
TtRPC
Created by peternovak on 9/12/2023 in #❓-help
Call multiple TRPC endpoints from onSuccess()?
Thanks @alexkatt , this httpBatchLink was exactly the documentation I was looking for!!
11 replies
TTCTheo's Typesafe Cult
Created by peternovak on 9/11/2023 in #questions
How to handle FE requests > 1MB?
I assume the sizeLimit setting from here should be possible to add in the T3 configuration? https://nextjs.org/docs/pages/building-your-application/routing/api-routes#custom-config
2 replies
TTCTheo's Typesafe Cult
Created by ZiiM on 11/30/2022 in #questions
NextJS body exceed limit when content sent in body is under limit.
How did you guys solve this one? I just faced this problem myself, and wonder where I should add this configuration so I don't need to do it for all endpoints
5 replies
TTCTheo's Typesafe Cult
Created by peternovak on 7/3/2023 in #questions
Server-side authentication for external services
So far so good - thanks a lot @keef (Rustular CVO) , this looks really promising!!
44 replies
TTCTheo's Typesafe Cult
Created by peternovak on 7/3/2023 in #questions
Server-side authentication for external services
Let me try some real API calls and see if it works there!
44 replies
TTCTheo's Typesafe Cult
Created by peternovak on 7/3/2023 in #questions
Server-side authentication for external services
44 replies
TTCTheo's Typesafe Cult
Created by peternovak on 7/3/2023 in #questions
Server-side authentication for external services
Wait, let me do one more test.
44 replies
TTCTheo's Typesafe Cult
Created by peternovak on 7/3/2023 in #questions
Server-side authentication for external services
44 replies