User Interface
Understand the user interface of an application and how to run monolith.
We'll cover the following
Users can use a REST API provided by the modules exposing their gRPC service APIs using grpc-gateway
. Most modules expose most of their gRPC services this way; notable exceptions are the Notifications module and most of the Depot module.
Note: The REST APIs are mounted at http://localhost:8080/api/*.
Swagger UI
To make things easier to experiment and run examples, the REST APIs can be accessed with the Swagger UI found at the root of the web server: http://localhost:8080/.
Running the monolith
The monolith and the process it depends on can be started using Docker Compose. We can navigate to the root directory where the docker-compose.yml
file exists and run the following command:
Get hands-on with 1400+ tech skills courses.