DEV Community

Discussion on: Authentication in Node.js with MongoDB, bcrypt, and JWT web Tokens with cookies 🍪.

maswerdna profile image
Samson Andrew

You're right.
The recommended way is to call the methods directly on the express object.

In the latest version of Express, some bodyParser's methods have been added natively. That's why you don't have to install or require bodyParser again.