Closed ShivankK26 closed 1 year ago
share me your code
which part do you want?
everything
Give me a minute I'll upload it on github
There was some issue while uploading the repo so i've made 2 repos. CLIENT SIDE: https://github.com/ShivankK26/AI-Image-Generator-App
SERVER SIDE: https://github.com/ShivankK26/AI-APP
ok im checking the issue
Okay. Thanks a lot!
its working fine for me use my server file and do npm i and make .env make sure mongo db is connected and on mongodb got to networks then do this so anyone can connect to your server
my server file as in? I didn't get it
I also have a .env file and I've added the GPT API link to it.
i mean i dont have ur .env fle so i used "my server file"(from my project)...u can use yours
Okay.
But i'm still getting error..
on your terminal monondb is connected right?
yes
haha..lol
I've just connected mongoDB using the atlas link and used it in my .env file..nothing else...is this right?
change network access on mongodb
how to do it?
cuz ur ip changes everday
ohkk
yup, did it.
what next?
still getting error?
ya man it is still showing the same error
send me your terminal photo
okay
w8 u have installed axios right?
no
wow dude
follow the video
i think i missed it..could you please tell me the commands to install it?
i dont remember exactly but npm install axios this shoud be working
ohkk..and i should run this in client dir or server one?
a.... server i guess
did it...but it's showing error again...huhh
its beyond my expertise...sorry i cant help u
Okay, no issues. Thank you so much for your time and efforts!
ok
Facing this error while making API request. Can you please help @konhito. How did you solve it?