Hampterultimate
Hampterultimate
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Hampterultimate on 3/25/2024 in #questions
Issues with queryKey
if I pass any string to it
5 replies
TTCTheo's Typesafe Cult
Created by Hampterultimate on 3/25/2024 in #questions
Issues with queryKey
Yes, thats how I used useQuery outside of tRPC. But here it just gets angry at me
5 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
You should learn more about APIs in nextjs. You will be needing them to create safe and scalable applications. There will be times you need to perform some action which requies some key so its best to use APIs for that as if you do that same logic on the front end it could expose your API keys and malicious actors can use it just by accessing your frontend
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
This should help, you can skip step 2 I believe but give it a read in case I missed something.
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
Okay so try creating one simple api then calling it on thunderclient or postman just to see if its working in your next project. I have not worked with node that much so I cant be of much help there
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
hmmm, I feel like you might not be creating your apis properly. Have you made APIs before in your project?
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
Also I don't know for sure, there could be better solutions and mine might not even work. So please don't get mad if it doesnt 😱
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
Sure, goodluck!
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
Well, do that if nothing else works.
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
That should work, you might need to change some settings in cloudinary to work with different domains sending image according to your needs
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
If nothing works after going through the URL I sent and trying it out. What you can do is create an API which gets the link in request, use the nodejs specific cloudinary function as shown in the URL, transform the image and send the public url created by cloudinary as a response.
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
oh I see, so you are writing your APIs in the apis directory in Node right?
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
This piece of code is in reactjs right?
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
Tell me this
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
And that too is for NodeJS. So if you are trying to do that in ReactJS it will not work I think
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
yes, it looks like you cannot use it on react. It could be for NodeJS. I did some research but wasnt able to find anything useful except that link
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
@Revaycolizer
45 replies
TTCTheo's Typesafe Cult
Created by Revaycolizer on 5/27/2023 in #questions
Using Cloudinary
Did you try this out?
45 replies