loopback4-example-microservices
                                
                                 loopback4-example-microservices copied to clipboard
                                
                                    loopback4-example-microservices copied to clipboard
                            
                            
                            
                        Deprecated - please use https://github.com/strongloop/loopback4-example-shopping/tree/master/kubernetes
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:
- Node.js >= 8.0.0
- TypeScript >= 2.0.0 npm i -g typescript
- TypeScript Node >= 3.0.0 npm i -g ts-node
# install loopback4-example-microservices
git clone https://github.com/strongloop/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
/bindirectory.
Team
Project Architects
| Raymond Feng | Miroslav Bajtos | Ritchie Martori | 
|---|---|---|
Project Maintainers
| Taranveer Virk | Biniam Admikew | Kyu Shim | Diana Lau | 
| Janny Hou | Simon Ho | Yappa Hage | |
Contributing
License
MIT