9 thoughts to “Node.js Express and MongoDB: Login and Registration example”

  1. got as far as Initialize Mongoose, im getting ReferenceError: dbConfig is not defined

    ive probably not understand what the three dots represent. VS code suggested these weren’t code so I removed them, then removed app.use(…); aswell because that does nothing

    was something supposed to replace the three dots? what do they mean?

    1. Hi, the dots (…) is just for making the code more concise. You can get the full code on Github.

  2. Hi, I have this error, can you help me please?

    TypeError: app.use is not a function
    at module.exports (…/routes/auth.routes.js:6:7)

Comments are closed to reduce spam. If you have any question, please send me an email.