DEV Community

Discussion on: Authentication in NodeJS With Express and Mongo - CodeLab #1

Collapse
 
cortesben profile image
UI Cortés • Edited

Really great article. On the last step in the user.js file I didn't see mentioned to import const auth = require("./../middleware/auth");

I really just wanted to say thank you for this straight forward step by step tutorial.

Collapse
 
mikeypenny profile image
Miguel Sandoval

Yeah he totally mised that