🎓 Minimal project template for one Moleculer microservice.
- Moleculer v0.15.x with
moleculer.config.js - Simple project with a demo
greeterservice - Transporter & Cacher
- Docker & Docker Compose files
- Unit tests with Jest
- Lint with ESLint (flat config)
- Launch file for debugging in VSCode
To install use the moleculer-cli tool.
$ moleculer init nano my-project$ moleculer init nano my-project
Template repo: moleculerjs/moleculer-template-nano
? Select a transporter TCP
? Would you like use cache? No
? Would you like to enable metrics? Yes
? Would you like to enable tracing? Yes
? Add Docker & Docker Compose files? Yes
? Use ESLint to lint your code? Yes
Create 'my-project' folder...
? Would you like to run 'npm install'? Yes
npm run dev- Start service.js with hot-reloading and REPL.npm run lint- Run lintingnpm run ci- Start testing in watch modenpm start- Start service.js in production modenpm test- Run tests & generate coverage report
This template is available under the MIT license.
Copyright (c) 2016-2026 MoleculerJS