npm run dev
: Start development mode (load all services locally with hot-reload & REPL)npm run start
: Start production mode (setSERVICES
env variable to load certain services)npm run cli
: Start a CLI and connect to production. Don't forget to set production namespace with--ns
argument in scriptnpm run ci
: Run continuous test mode with watchingnpm test
: Run tests & generate coverage reportnpm run dc:up
: Start the stack with Docker Composenpm run dc:down
: Stop the stack with Docker Compose
** 서버 환경셋팅 MSA 프레임워크인 Moleculer 이용해서 서비스를 만들었습니다.
local 에서 테스트 해볼 수 있는 방법은 nats-server 설치 후, 테스트 해 볼 수 있습니다.