Skip to content

MichiBaum/Microservices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Microservices

SonarCloud
Bugs Code Smells Coverage Duplicated Lines (%) Lines of Code Maintainability Rating Security Rating Technical Debt Vulnerabilities

This project is all about microservices. Frontend is currently build with Angular. There are microservices build with spring, spring cloud and so forth.

Alt

Modules

There are these microservices:

And these libraries:

And these databases:

  • Authentication DB
  • Usermanagement DB
  • Chess DB
  • Fitness DB

Release

Maven release plugin

The Maven Release Plugin automates the process of releasing project versions by updating version numbers and creating tags in the version control system. Use the command mvn release:update-versions to update the version information in your project's pom.xml files.

Docker

Container

Up

docker compose up -d

Down

docker compose down

Logs

# Follow
docker compose logs -f

# Single container 
docker compose logs ´name´

Stats

docker stats

Change HOSTS file (for dev on local machine)

Remember to take Backup before editing your hosts file, mistakes there can block your internet access or cause other network-related issues.

Windows

In C:\Windows\System32\drivers\etc find file hosts and add those lines:

# Microservices
127.0.0.1 chess.michibaum.ch
127.0.0.1 gateway.michibaum.ch
127.0.0.1 registry.michibaum.ch
127.0.0.1 admin.michibaum.ch
127.0.0.1 usermanagement.michibaum.ch
127.0.0.1 authentication.michibaum.ch
127.0.0.1 michibaum.ch

Linux

File: /etc/hosts

Scan docker files

docker scan YourDockerHubUsername/DockerHubRepository:TagName --dependency-tree

Local DB

docker run --name microservices -e MARIADB_ROOT_PASSWORD=someRootPass -p 3306:3306 -d mariadb:lts-noble

After that create the databases in the container. The tables are created trough

spring
  jpa:
    hibernate:
      ddl-auto: update

License

GitHub license

Collaborators

MichiBaum
Michael Baumberger

Contributors

severinnauer
Severin
MichiBaum
Michael Baumberger