Socket
Socket
Sign inDemoInstall

generator-moleculer

Package Overview
Dependencies
311
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    generator-moleculer

Moleculer microservices project


Version published
Weekly downloads
0
Maintainers
1
Install size
26.8 MB
Created
Weekly downloads
 

Readme

Source

Moleculer logo

Moleculer project generator NPM version Build Status Dependency Status Coverage percentage

Create a new Moleculer microservices project

Installation

First, install Yeoman and generator-moleculer using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-moleculer

Then generate your new Moleculer project (moleculer-demo):

yo moleculer moleculer-demo

Features

  • Moleculer v0.12.x with moleculer.config.js
  • Common project with a demo greeter service
  • Optional API Gateway service
  • Optional Transporter & Cacher
  • Docker & Docker Compose files
  • Unit tests with Jest
  • Lint with ESLint
  • Launch file for debugging in VSCode

NPM scripts

  • npm run dev - Start service.js with hot-reload and start REPL
  • npm run lint - Run ESLint
  • npm run ci - Start testing in watch mode
  • npm start - Start services in production mode
  • npm test - Run tests & coverage

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

MIT © MoleculerJS

Keywords

FAQs

Last updated on 07 Mar 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc