1.0.0 • Published 1 year ago

moleculer-practise v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Usage

Start the project with npm run dev command. After starting, open the http://localhost:3000/ URL in your browser.

In the terminal, try the following commands:

  • nodes - List all connected nodes.
  • actions - List all registered service actions.

Services

  • api: API Gateway services

Useful links

NPM scripts

  • npm run dev: Start development mode (load all services locally with hot-reload & REPL)
  • npm run start: Start production mode (set SERVICES 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 script
  • npm run lint: Run ESLint
  • npm run ci: Run continuous test mode with watching
  • npm test: Run tests & generate coverage report