TLDR;
This project includes configs and scripts to initialize services. You can use init.sh file to complete automate services configuration process. You can also use predefined makefile commands to start shorten your work
chmod +x init.sh
./init.shImportant
Services in this project connect to RabbitMQ, MongoDB and Redis
Otherwise, you can start each service manually. Each service contains README file with information, on how to start it
This application also includes example.env, which will be used in k8s deployments. docker-compose also include parts of this env, but wasn't tested ( I used compose only once )
make initDev
make prepareDevmake initProd
make prepareProdgit submodule init
git submodule update --remote --mergenpm install --prefix ./services/gateway
npm install --prefix ./services/messages
npm install --prefix ./services/usersImportant
Keep in mind that each service requires testConfig.json, prodConfig.json and devConfig.json in config folder. You can find required variables in exampleConfig.json. You can always use init.sh file to initialize all configs