Skip to content
This repository has been archived by the owner on May 5, 2019. It is now read-only.

moleculerjs/moleculer-template-project-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moleculer template: project-simple

🎓 Simple Moleculer based microservices project template

Features

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

Install

To install use the moleculer-cli tool.

$ moleculer init project-simple my-project

Prompts

$ moleculer init project-simple moleculer-demo2

Template repo: moleculerjs/moleculer-template-project-simple
? Add API Gateway (moleculer-web) service Yes
? Would you like communicate with other nodes? Yes
? Select a transporter NATS (recommended)
? Would you like use cache? Yes
? Select a cacher solution Memory
? Use ESLint to lint your code? Yes
? Setup unit tests with Jest? Yes
Create 'moleculer-demo2' folder...
? Would you like to run 'npm install'? Yes

NPM scripts

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

License

Moleculer-cli is available under the MIT license.

Contact

Copyright (c) 2018 MoleculerJS

@moleculerjs @MoleculerJS

About

🎓 Simple project template for Moleculer-based projects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published