Beginner Need Help with Node.js/React/Next.js/Three.js Project
Unanswered
Bigeye tuna posted this in #help-forum
Bigeye tunaOP
Hi everyone.
I recently started learning JavaScript, and I'm currently working on a small project using Node.js, React or Next.js and Three.js.
Since I'm still learning, I sometimes get stuck and would really appreciate some help or guidance from developers who have experience with these technologies.
If any one is willing to help or answer a few questions about the project, please let me know or DM me. Thanks!!!
I recently started learning JavaScript, and I'm currently working on a small project using Node.js, React or Next.js and Three.js.
Since I'm still learning, I sometimes get stuck and would really appreciate some help or guidance from developers who have experience with these technologies.
If any one is willing to help or answer a few questions about the project, please let me know or DM me. Thanks!!!
74 Replies
Pomeranian
Hi
I know a good developer who can teach you.
What kind of help you need ? Ask here.
Bigeye tunaOP
Mr. RxvxntxN, nice to meet you.
You too , What kind of help you need ?
Bigeye tunaOP
I've learned for about 10 months. I have a project. But I can't run it.
You need to be specific about the problem you're stuck on.
Bigeye tunaOP
I installed node modules using npm and ran it using the command "npm start".
But the project doesn't work. I can't see any errors in my cmd.
But the project doesn't work. I can't see any errors in my cmd.
You mentioned that you are learning 10 months and did you made a project yourself ? Show me
package.jsonBigeye tunaOP
No, this is my client's project. This is my first project. So...
Can you show me
package.json in your project ?Bigeye tunaOP
Could you tell me which tech stack was used in this project?
Bigeye tunaOP
Node.js/React/Next.js/Three.js
have you run
npm install first ?Bigeye tunaOP
Of course.
are folders in same directory ?
Bigeye tunaOP
Yes.
still not running with "npm start" ? what is error you get ?
Bigeye tunaOP
No errors.
can you check the terminal output for urls ?
I believe you are running npm start in wrong folder
Bigeye tunaOP
No, right folder.
This is ".env" file
PORT=5000
MONGO_URI= mongodb://localhost:27017/project
JWT_SECRET="judy"
This is ".env" file
PORT=5000
MONGO_URI= mongodb://localhost:27017/project
JWT_SECRET="judy"
is your MongoDB installed ?
Bigeye tunaOP
Yeah.
And is it running ?
Bigeye tunaOP
Yes.
check terminal
mongoshshow it to me
Bigeye tunaOP
The result is "command not found".
That means MongoDB is not installed 😐
Bigeye tunaOP
You need to Install mongodb...
show me
mongo --versionBigeye tunaOP
Pomeranian
Hi, Judy
can you share me the project?
can you share me the project?
did you connect mongo in your project ?
Bigeye tunaOP
i did it.
thanks superstar.
Pomeranian
let me find out what
is wrong in my local.
how can you send me the project?
Can you check if your mongodb is running ?
with bash terminal
Bigeye tunaOP
of course running.
Pomeranian
Judy
Bigeye tunaOP
Mr RxvxnxN. Could you run my project, please?
try
MongoDB Server , MongoDB name could be anythingPomeranian
please share your project here, Judy
or try
net start | find "MongoDB""MongoDB" could be anything in your project
Also, Just because you can see the MongoDB version doesn't mean the database server is running.
Bigeye tunaOP
I'm uploading my project. Please run it and send me the screenshot.
Pomeranian
ok
You don't have to upload project. You have to do it by yourself. Aren't you learning ?
Bigeye tunaOP
Pomeranian
ok, let me try, judy
It is simple task , you have to run MongoDB.
After that , Try
if that doesn't work , try separate bash terminal and run it together ,
After that , Try
npm start if that doesn't work , try separate bash terminal and run it together ,
npm run server and npm run clientBigeye tunaOP
Mr. RxvxntxN, I did it. If there is problem in my project, ....
Pomeranian
oh, no there is error.......
is this a completed project?
ah, it's working
judy
your issue might be by the port number.
RxvxntxN
how do you think?
Bigeye tunaOP
I can't believe SuperStar.
please send me the screenshot.
Bigeye tunaOP
Mr. RxvxntxN....
Hey Judy,
Since you're learning, I would recommend taking some time to understand:
- How to start MongoDB manually vs as a service
- How to check if MongoDB is actually running (using
- What the terminal output means when you run
Since you're learning, I would recommend taking some time to understand:
- How to start MongoDB manually vs as a service
- How to check if MongoDB is actually running (using
mongo or mongosh)- What the terminal output means when you run
npm run server and npm run clientPomeranian
Rx!
@Bigeye tuna Click to see attachment
are you using r3?f is webgpu? i advice you to load canvas using dynamic.
But i should warn you threejs is still very heavy on CPU and also need a GPU i hope you not targeting low end devices. I manage to run three js in a worker but comunication with react in main thread can be tricky. Also consider webgl support on apple device have several problems webgpu is getting better support.
Not a fan of non relational DB, tell me you not considering store models inside mogodb not sure that is good idea