Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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
Appearance settings

NodeJS microservices

License

NotificationsYou must be signed in to change notification settings

Lomray-Software/microservices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHubGitHub package.json dependency version (dev dep on branch)semantic-release

Staging:Build staging
Prod:Build prod

Microservices list:

UseCLI to start your own art.

How to investigate it

Method 1:

Use docker to run all in one command:

docker-compose -f docker-compose.yml -f docker-compose.ms.yml up

Method 2

  1. RunInverted Json job server andpostgres database.
docker-compose up
  1. Runconfiguration microservice.
  • Through docker:
docker-compose -f docker-compose.ms.yml up configuration
  • Through node:
cd microservices/configurationnpm inpm run start:dev
  1. Run other needed microservices (the same actions as in step 2).

That is all. Check it:

curl -X POST http://127.0.0.1:3000   -H'Content-Type: application/json'   -d'{"id":"unique-id-1","method":"microservice-name.method","params":{}}'

see example requests inhttp-requests folder

Check all available microservices

Microservices also available like npm packages:

npm i --save @lomray/microservice-NAME# for e.g.npm i --save @lomray/microservice-configuration

Integration tests

  1. Run all microservices
  2. Run commands:
cd testsnpm runtest

Sponsor this project

 

Packages

 
 
 

Contributors6

Languages


[8]ページ先頭

©2009-2025 Movatter.jp