Posts by cesarvargas • 1 point
2 posts
-
0
votes1
answer51
viewsA: Manipulation of Middleware
I’m gonna break your code into a few parts so you can understand what’s going on: app.route('clientes').get() You create a route /clientes responding to a HTTP GET Request. This route, when…
-
0
votes2
answers662
viewsA: Model, Express and the Mongoose
First, I suggest you stop using express-load, as it does not run well with ES6 classes. Use the consign. I guess to answer that question, I’d need the contents of the file '../models/productModel',…