YAS is a pet project aim to practice building a typical microservice application in Java
- Java 17
- Spring boot 3
- Next.js
- Keycloak
- Kafka
- Elasticsearch
- K8s
- Github Actions
- SonarCloud
- OpenTelemetry
- Grafana, Loki, Prometheus, Tempo
- Get the latest source code
- Add the following records to your host file:
127.0.0.1 identity
127.0.0.1 api.yas.local
127.0.0.1 pgadmin.yas.local
127.0.0.1 storefront
127.0.0.1 backoffice
127.0.0.1 loki
127.0.0.1 tempo
127.0.0.1 grafana
127.0.0.1 elasticsearch
127.0.0.1 kafka
127.0.0.1 akhq
- Open terminal of your choice, go to
yas
directory and rundocker compose up
and wait for all the containers up and running - All the containers up and running then we start source connectors by run script, open any terminal window... go to the YAS root folder and type: ./start-source-connectors.sh
- Open your browser, now you can access the websites via
http://storefront/
;http://backoffice/
login with admin/password
You might aslo want to explore:
http://pgadmin.yas.local/
. Account login:[email protected]
/ admin. Register a server: postgres, port 5432, username admin, password admin. The Postgresql server is also exposed to the host machine: servername: localhost, port: 5432, username: admin, password: adminhttp://api.yas.local/swagger-ui/
for all the REST API document of all the serviceshttp://identity/
for Keycloak console, account admin/adminhttp://grafana/
for observability: log, trace, matrixhttp://elasticsearch/
for calling Elasticsearch APIs
- Give us a star
- Reporting a bug
- Participate discussions
- Propose new features
- Submit pull requests. If you new to GitHub, consider to learn how to contribute to a project through forking
- Developer guidelines
By contributing, you agree that your contributions will be licensed under MIT License.