Categories
Mastering Development

I get an error when trying to establish a $ lookup relationship in Mongodb and nodejs

I’m at the learning stage yet. I am having trouble establishing a relationship in Mongodb. error not found 404 I made all the operations in the collections with the data in both tables, and in the training I received. But somehow I couldn’t run it successfully. Models Books const Book = require(‘../Models/Book’); router.post(‘/new’, function(req, res, […]