V
V
vosyukov2018-09-30 16:09:51
MongoDB
vosyukov, 2018-09-30 16:09:51

How to split mongoose model files across multiple applications?

There are two parsers on the node that work with the same mongoose model and run on different computers. As a result, when you change the model on one computer, you have to change it on the other, in what ways can you get away from such duplication of code?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2018-09-30
@vosyukov

Make a private npm package

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question