1.0.0 • Published 1 year ago
moleculer-practise v1.0.0
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
- Moleculer website: https://moleculer.services/
- Moleculer Documentation: https://moleculer.services/docs/0.14/
NPM scripts
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 lint
: Run ESLintnpm run ci
: Run continuous test mode with watchingnpm test
: Run tests & generate coverage report
1.0.0
1 year ago