An open API service indexing awesome lists of open source software.

https://github.com/strongloop/loopback-example-facade

Best practices for building scalable Microservices.
https://github.com/strongloop/loopback-example-facade

Last synced: 6 months ago
JSON representation

Best practices for building scalable Microservices.

Awesome Lists containing this project

README

          

# loopback-example-facade

**⚠️ This LoopBack 3 example project is no longer maintained. Please refer to [LoopBack 4 Examples](https://loopback.io/doc/en/lb4/Examples.html) instead. ⚠️**

This example demonstrates best practices for building scalable Microservices. [See the slides](https://www.slideshare.net/RitchieMartori/scaling-your-microservices-with-loopback) for an overview.

- [The Interaction Tier](https://github.com/strongloop/loopback-example-facade/wiki/The-Interaction-Tier)
- [The Microservice Facade Pattern](https://github.com/strongloop/loopback-example-facade/wiki/The-Microservice-Facade-Pattern)
- [Caching Strategies](https://github.com/strongloop/loopback-example-facade/wiki/Caching-Strategies)
- [Health Checks and System Status](https://github.com/strongloop/loopback-example-facade/wiki/Health-Checks-and-System-Status)
- [Transforming your Architecture](https://github.com/strongloop/loopback-example-facade/wiki/Transforming-your-Architecture)

## Try it out

**Download and run the code.**

```
$ git clone https://github.com/strongloop/loopback-example-facade
$ cd loopback-example-facade
$ docker-compose up --build
```

**Make a request to get the account summary screen data.**

```
$ bin/get-account-summary
```

**Run the System Status Health Check**

```
$ node health-check-client
```