V
V
Valery Orlov2018-12-02 21:34:57
Nginx
Valery Orlov, 2018-12-02 21:34:57

Has anyone split a Node.JS application into multiple parts?

Good day. I'm starting to get confused in the arrays of the NODE.JS application I wrote. And the thought came to me, break it into 3 separate applications and configure for each NGINX. Part 1 will be responsible for static files. 2nd part, for registration, authentication and displaying information in your personal account, 3rd part, for adding incoming information to the database and file cloud. Implement autoloading through the PM2 process manager. Thus, I will separate the code a little, adding comfort in working with separate parts, + I will have 3 elements that are actually independent from each other. I read somewhere that this practice is used in social networks and has proven itself well. Do you think this is appropriate?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Koryukov, 2018-12-02
@MadridianFox

fit

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question