Might be the typo:
Ramz Apazhev
31

Hi Ramz, thanks for the feedback.

In this case it’s not a typo. It all comes down to relative paths. All the logic regarding the user lies within the user directory. Because we’re requiring the UserController from app.js, which is in the root directory of the project, we need to add the ./user part in order to enter the user directory where we put UserController.js.

Is this making any sense? Feel free to respond if you wish to talk it through once again.

Like what you read? Give Adnan Rahić a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.