A
A
antimodern2019-01-16 23:02:23
Node.js
antimodern, 2019-01-16 23:02:23

What to do if the project grows to 4-6 applications?

Everything started out just fine. Learning Noda, all sorts of realtimes, sockets, caching, awesome practice with frontend frames...
But now my project has grown to 4 separate applications: frontend, a separate API for the frontend, the CMS admin panel front, and the CMS API itself. There are also plans for a separate home-made analytics service and a web socket server.
I am silent and do not ask about the deployment of this zoo (while I manage with bash scripts).
But it annoys me even locally every day to run 4 applications with handles purely for development)
How to organize work in such cases correctly? What advice can you give?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2019-01-16
@antimodern

But it annoys me even locally every day to run 4 applications with handles purely for development)

Bad bash scripts. You can also write one that will launch everything for you.
Well, in general, with proper preparation, npm will prepare everything for deployment, bash scripters can deploy everything with one command, or through local jenkins, jenkins can deploy everything by a trigger from the git, removing the manual launch requirements.
You can also try docker.
If all applications are written by you, then minor refactoring to automate build and deployment should not be a problem for you.

K
Kirill Kudryavtsev, 2019-01-17
@Deissh

Push everything into Docker containers and lift it with Docker Compose.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question