- Clone this repository
- Run
yarncommand in the terminal - Create a
.envfile in the root folder of the project. - Add the required environment variables which are
PORT,RUN_TIME,MICROSERVICE_NAME.PORTcan be any number which represent open ports on which the service can run,RUN_TIMEcan be eitherprodordev,MICROSERVICE_NAMEcan be eitheracl-serviceortest-servicewhich is simply the folder name that contains the module we want to bootstrap inmain.tsfile. - Run
yarn start:devcommand in the terminal.
- To run a containerized application which has all the microservices running, run
docker-compose upcommand in the terminal. To run in detached mode, usedocker-compose up -d. Happy hacking!