Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Molecular Node.js microservice for minor processes, file conversions and more..

NotificationsYou must be signed in to change notification settings

nikatlas/xml2xlsx

Repository files navigation

Moleculer

converter

This is aMoleculer-based microservices project. Generated with theMoleculer CLI.

Usage

Start the project withnpm run dev command.After starting, open thehttp://localhost:3000/ URL in your browser.On the welcome page you can test the generated services via API Gateway and check the nodes & services.

In the terminal, try the following commands:

  • nodes - List all connected nodes.
  • actions - List all registered service actions.
  • call greeter.hello - Call thegreeter.hello action.
  • call greeter.welcome --name John - Call thegreeter.welcome action with thename parameter.
  • call products.list - List the products (call theproducts.list action).

Services

  • api: API Gateway services
  • greeter: Sample service withhello andwelcome actions.
  • products: Sample DB service. To use with MongoDB, setMONGO_URI environment variables and install MongoDB adapter withnpm i moleculer-db-adapter-mongo.

Mixins

  • db.mixin: Database access mixin for services. Based onmoleculer-db

Useful links

NPM scripts

  • npm run dev: Start development mode (load all services locally with hot-reload & REPL)
  • npm run start: Start production mode (setSERVICES 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:down: Stop the stack with Docker Compose

About

Molecular Node.js microservice for minor processes, file conversions and more..

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp