🎓 Moleculer-based microservices project template.
- Moleculer v0.14
- MongoDB Mixin.
- Optional API Gateway service with detailed service settings.
- Optional Transporter & Cacher.
- Unit tests with Jest.
- Lint with ESLint.
- Launch file for debugging in VSCode.
To install use the moleculer-cli tool.
$ moleculer init quezt/moleculer-project my-project
$ moleculer init quezt/moleculer-project my-project
Template repo: quezt/moleculer-project
? Add API Gateway (moleculer-web) service? Yes
? Would you like to communicate with other nodes? Yes
? Connect to MongoDB? No
? Use ESLint to lint your code? Yes
? Use prettier to format your code? Yes
? Setup unit tests with Jest? Yes
Create 'my-project' folder...
? Would you like to run 'npm install'? Yes
- api: API Gateway services.
- calculator: Calculator service.
- documents: Documents Controller service.
- documents-store: Sample DB service. To use with MongoDB, set MONGODB_URI environment variables and install MongoDB adapter with yarn add moleculer-db-adapter-mongo.
- mongodb.mixin: Database access mixin for services. Based on moleculer-db
- Moleculer website: https://moleculer.services/
- Moleculer Documentation: https://moleculer.services/docs/0.14/
moleculer-project is available under the MIT license.