All Projects → moleculerjs → moleculer-template-project-typescript

moleculerjs / moleculer-template-project-typescript

Licence: MIT License
Typescript project template for Moleculer microservices framework.

Programming Languages

typescript
32286 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to moleculer-template-project-typescript

moleculer-boilerplate-ts
[WIP] A Comprehensive Boilerplate for NodeJS micro-services project with moleculerjs.
Stars: ✭ 20 (-78.26%)
Mutual labels:  moleculer, moleculer-template
moleculer-go
moleculer go implementation
Stars: ✭ 17 (-81.52%)
Mutual labels:  moleculer
database
Advanced Database Access Service for Moleculer microservices framework
Stars: ✭ 22 (-76.09%)
Mutual labels:  moleculer
moleculer-db
🔋 Database access service mixins for Moleculer
Stars: ✭ 117 (+27.17%)
Mutual labels:  moleculer
moleculer-http-client
HTTP client mixin that allows Moleculer services to communicate with remote REST APIs
Stars: ✭ 14 (-84.78%)
Mutual labels:  moleculer
moleculer-java
Java implementation of the Moleculer microservices framework
Stars: ✭ 39 (-57.61%)
Mutual labels:  moleculer
moleculer-sc
API Gateway service for Moleculer framework using SocketCluster
Stars: ✭ 19 (-79.35%)
Mutual labels:  moleculer
moleculer-channels
Reliable messages for Moleculer services via external queue/channel/topic.
Stars: ✭ 45 (-51.09%)
Mutual labels:  moleculer
moleculer-cli
🌿 Command line tool for Moleculer
Stars: ✭ 44 (-52.17%)
Mutual labels:  moleculer
moleculer-adapter-feathers
Moleculer service mixin wrapping Feathers.js services
Stars: ✭ 17 (-81.52%)
Mutual labels:  moleculer
moleculer-repl
REPL module for Moleculer framework
Stars: ✭ 24 (-73.91%)
Mutual labels:  moleculer
moleculer-node-realworld-example-app
Exemplary real world application built with Moleculer
Stars: ✭ 102 (+10.87%)
Mutual labels:  moleculer
moleculer
🚀 Progressive microservices framework for Go - based and compatible with https://github.com/moleculerjs/moleculer
Stars: ✭ 135 (+46.74%)
Mutual labels:  moleculer
Moleculer
🚀 Progressive microservices framework for Node.js
Stars: ✭ 4,845 (+5166.3%)
Mutual labels:  moleculer

Moleculer template: project-typescript

🎓 Moleculer-based microservices project template for Typescript project.

Features

  • Moleculer v0.14 with full-detailed moleculer.config.ts file.
  • Common mono-repo project with a demo greeter service.
  • Sample database products service (with file-based NeDB in development & MongoDB in production).
  • Optional API Gateway service with detailed service settings.
  • Beautiful static welcome page to test generated services & watch nodes and services.
  • Optional Transporter & Cacher.
  • Metrics & Tracing.
  • Docker & Docker Compose & Kubernetes files.
  • Unit tests with Jest.
  • Lint with ESLint.
  • Launch file for debugging in VSCode.

Install

To install use the moleculer-cli tool.

$ moleculer init project-typescript my-project

Prompts

$ moleculer init project-typescript moleculer-demo

Template repo: moleculerjs/moleculer-template-project-typescript
? Add API Gateway (moleculer-web) service? Yes
? Would you like to communicate with other nodes? Yes
? Select a transporter NATS (recommended)
? Would you like to use cache? Yes
? Select a cacher solution Memory
? Would you like to enable metrics? Yes
? Select a reporter solution Prometheus
? Would you like to enable tracing? Yes
? Select a exporter solution Console
? Add Docker & Kubernetes sample files? Yes
? Use ESLint to lint your code? Yes

NPM scripts

  • npm run dev: Start development mode (load all services locally without transporter with hot-reload & REPL)
  • npm run start: Start production mode (set SERVICES 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 script
  • npm run lint: Run ESLint
  • npm run ci: Run continuous test mode with watching
  • npm test: Run tests & generate coverage report
  • npm run dc:up: Start the stack with Docker Compose
  • npm run dc:logs: Watch & follow the container logs
  • npm run dc:down: Stop the stack with Docker Compose

License

moleculer-template-project-typescript is available under the MIT license.

Contact

Copyright (c) 2020 MoleculerJS

@moleculerjs @MoleculerJS

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].