I am a beginner in mongodb and node js and I want to create RESTful API respecting the mvc model. I started by creating the schemas and it was not too difficult but now I want to create a file "base.js" which contains the functions CRUD in a generic way ie I make a call to the function (Create) by giving it the name of the model and the data and I am blocked because I do not even know the syntax. Is that someone can explain to me the structure of a project node js with MVC model and offer me a tutorial with crud generic
via Oumaya Abdelkhalek
No comments:
Post a Comment