Api Platform is responsible for ddockerization of gateway and services.
All system elements can be started by running $ docker-compose up
command.
When you start system it will start:
- Rabbitmq
- Api Gateway: https://github.com/siluet/fm-gateway.git
- Logger (1 for tracking, 1 for error logs): https://github.com/siluet/fm-log.git
- Product Service: https://github.com/siluet/fm-service-product.git
- Basket Service: https://github.com/siluet/fm-service-basket.git
- Rename/Copy .env.dist file as .env and alter the config values with actual ones.
$ docker-compose up
or$ docker-compose up -d
will start whole backend systems.
All gateway endpoints can be tested through postman.
After startin system, tracking logs can be viewed by executing $ docker-compose logs -f logger-trace
on project root.
Error logs (fatal, error, warning) can be viewed by $ docker-compose logs -f logger-error
.