/loopback4-example-microservices

How to build scalable microservices using LoopBack.next.

Primary LanguageTypeScriptOtherNOASSERTION

WIP

  • Customer -> Todo
  • Account -> Todo-List
  • Remove unused services
  • Update Facade
  • Use belongsTo and hasMany relations
  • Update wrapper package

loopback4-example-microservices

Gitter

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:

# install loopback4-example-microservices
git clone https://github.com/tamino-martinius/loopback4-example-microservices
cd loopback4-example-microservices
npm i

Basic use

# start all microservices
npm start

# perform GET request to retrieve account summary data
curl localhost:3000/account/summary?accountNumber=CHK52321122 # or npm test

# perform GET request to retrieve account data
curl localhost:3001/accounts?accountNumber=CHK52321122

# stop all microservices
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