This project will show you how to use sbt-play-boilerplate
plugin.
This project is simulated system with 2 micro-services and a web gateway:
- auth service: simple implementation of user authorization service.
- petStore service: manages items of a pet store.
- web-gateway: application providing web UI and acting as gateway to services.
Open two terminals into the root directory of this project.
First of all compile project with command:
sbt clean compile
In the first run petStore service:
sbt "petStore-impl/run 9001"
Into the second terminal run web-gateway:
sbt "web-gateway/run 9000"
After that you should try to open web UI from the browser.
Login: XXX@example.com (where XXX - one of roles' name: admin, user, api. For example: admin@example.com) Password: pass