Hello, Qusai. ATLAS_URI is your mongodb atlas URI. You can get it after registering in MongoDB Atlas. SECURITY_KEY is a security key used for interaction between client and server. You can just give a random string for it. CLIENT_URL is just your client URL, localhost:3000 if you run in local machine REACT_APP_SECURITY_KEY is just same as SECURITY_KEY. Note that the value between them must be the same. REACT_APP_BACKEND_URL is just your server URL, localhost:5000 is the default if you run in local machine.
yeahh i cloned it yesterday, so i guess its new. IF YOU ARE FREE can we have a small video call type meet where I can share my screen with you? Is that okay? Btw, thanks for swift replies ;)
I'm sorry but I'm not free now, but I think we can just use the dev.to chat feature, or just commenting here. Btw I tested the latest version and it's good in mine, and please try to run npm install again.
Firstly, is your npm is installed successfully with its PATH environment variable? I think this is because your npm is not registered in your PATH environment variable. Please check it by opening path > Environment Variables > PATH > Edit.
@qusaionali comment this line out "res.setHeader("Access-Control-Allow-Origin", process.env.CLIENT_URL)" in index.js inside the server folder, the submit button started working for me after that
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello, Qusai.
ATLAS_URIis your mongodb atlas URI. You can get it after registering in MongoDB Atlas.SECURITY_KEYis a security key used for interaction between client and server. You can just give a random string for it.CLIENT_URLis just your client URL, localhost:3000 if you run in local machineREACT_APP_SECURITY_KEYis just same as SECURITY_KEY. Note that the value between them must be the same.REACT_APP_BACKEND_URLis just your server URL, localhost:5000 is the default if you run in local machine.Still, it doesn't load up.
Did you clone the latest version? Otherwise, I'll figure it out!
yeahh i cloned it yesterday, so i guess its new. IF YOU ARE FREE can we have a small video call type meet where I can share my screen with you? Is that okay? Btw, thanks for swift replies ;)
I'm sorry but I'm not free now, but I think we can just use the dev.to chat feature, or just commenting here. Btw I tested the latest version and it's good in mine, and please try to run
npm installagain.NB: just run
npm installin your server folder. Your client folder works fine, it's likely the problem with server folderDid it again, a new command came npm fund , fired it, still same error
Could you please send the log file?
Btw, it's problem with npm fund, npm fund is used for funding contributors of packages
wheres the log file? and what to do now?
In your error, there's a log file link in the last error xd. Btw, could we just communicate use the instant message service?
Yeah, we need to mutually follow each other to chat on DEV.to
that's my log file: dev-to-uploads.s3.amazonaws.com/up...
Firstly, is your npm is installed successfully with its PATH environment variable? I think this is because your npm is not registered in your PATH environment variable. Please check it by opening path > Environment Variables > PATH > Edit.
@qusaionali comment this line out "res.setHeader("Access-Control-Allow-Origin", process.env.CLIENT_URL)" in index.js inside the server folder, the submit button started working for me after that