WOLFLEADER
WOLFLEADER
Explore posts from servers
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 9/15/2023 in #questions
FastAPI with nextjs pages App
however when i go to localhost:3000/api/py it doesnt redirect me
4 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 9/15/2023 in #questions
FastAPI with nextjs pages App
I have tried
rewrites: async () => {
return [
{
source: "/api/py/:path*",
destination:
process.env.NODE_ENV === "development"
? "http://127.0.0.1:8000/api/:path*"
: "/api/py",
},
];
},
rewrites: async () => {
return [
{
source: "/api/py/:path*",
destination:
process.env.NODE_ENV === "development"
? "http://127.0.0.1:8000/api/:path*"
: "/api/py",
},
];
},
4 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 6/8/2023 in #questions
T3 Turbo Build Issue
using t3 turbo mono repo cant really switch
8 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 6/8/2023 in #questions
T3 Turbo Build Issue
i cant control that
8 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 6/8/2023 in #questions
T3 Turbo Build Issue
this is on EAS build
8 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 4/17/2023 in #questions
React Native and Zustand Real-time data
👀
5 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 4/17/2023 in #questions
React Native and Zustand Real-time data
but the zustand set function takes ~600ms
5 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 4/17/2023 in #questions
React Native and Zustand Real-time data
the issue is, if i dont call a set function... then my ui never updates
5 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 4/17/2023 in #questions
React Native and Zustand Real-time data
handleBuffers: () => {
start = 0;

for (let [key, value] of get().mqttBuffData) {
get().mqttData.set(key, JSON.parse(value.toString()));
}

get().mqttBuffData.clear();
},
handleBuffers: () => {
start = 0;

for (let [key, value] of get().mqttBuffData) {
get().mqttData.set(key, JSON.parse(value.toString()));
}

get().mqttBuffData.clear();
},
using get and clearing seemd to fix it
5 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 3/8/2023 in #questions
Using Upstash
cheers
62 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 3/8/2023 in #questions
Using Upstash
assuming its an easy api to use, just would need an api key or something?
62 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 3/8/2023 in #questions
Using Upstash
👍
62 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 3/8/2023 in #questions
Using Upstash
fair
62 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 3/8/2023 in #questions
Using Upstash
so send the url from the device to my api, which adds it to the table?
62 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 3/8/2023 in #questions
Using Upstash
any providers like S3?
62 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 3/8/2023 in #questions
Using Upstash
👍 ok
62 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 3/8/2023 in #questions
Using Upstash
then i can just pipe the image to S3?
62 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 3/8/2023 in #questions
Using Upstash
the IoT sends the image to my nextjs api.
62 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 3/8/2023 in #questions
Using Upstash
now i just need to figure out where i should upload my files too
62 replies
TTCTheo's Typesafe Cult
Created by WOLFLEADER on 3/8/2023 in #questions
Using Upstash
and in my notification function i can rate limit notifications by doing a simple check.
62 replies