Reactjs – Setting image path correctly in nodeJS and displaying it in React
I've built a simple user registration feature in node which stores the user's name, email, password and an avatar image. I'm using multer to upload the image(in uploads/) and then manually place the file in a subfolder(in uploads/someUsersId/image.jpeg) and added…