项目作者: strongloop

项目描述 :
Deprecated - please use https://github.com/strongloop/loopback4-example-shopping/tree/master/kubernetes
高级语言: TypeScript
项目地址: git://github.com/strongloop/loopback4-example-microservices.git
创建时间: 2017-04-03T23:40:37Z
项目社区:https://github.com/strongloop/loopback4-example-microservices

开源协议:Other

下载


loopback4-example-microservices

:warning: This example has been deprecated and it does not reflect our recommendation to deploy LoopBack 4 applications as microservices. Please follow https://github.com/strongloop/loopback4-example-shopping/tree/master/kubernetes instead. :warning:

How to build scalable microservices using LoopBack.next.

What’s the difference between LoopBack.next and the current version of
Loopback? See LoopBack 3 vs LoopBack 4.

Installation

Make sure you have the following installed:

  1. # install loopback4-example-microservices
  2. git clone https://github.com/strongloop/loopback4-example-microservices
  3. cd loopback4-example-microservices
  4. npm i

Basic use

  1. # start all microservices
  2. npm start
  3. # perform GET request to retrieve account summary data
  4. curl localhost:3000/account/summary?accountNumber=CHK52321122 # or npm test
  5. # perform GET request to retrieve account data
  6. curl localhost:3001/accounts?accountNumber=CHK52321122
  7. # stop all microservices
  8. npm stop

Helper scripts for the above commands are in /bin
directory.

Team

Project Architects

Raymond Feng Miroslav Bajtos Ritchie Martori
raymondfeng bajtos ritch

Project Maintainers

Taranveer Virk Biniam Admikew Kyu Shim Diana Lau
virkt25 b-admike dhmlau
Janny Hou Simon Ho Yappa Hage
jannyhou superkhau hacksparrow

See all contributors

Contributing

License

MIT