{"id":15427256,"url":"https://github.com/robinmanuelthiel/microcommunication","last_synced_at":"2026-03-07T23:02:36.049Z","repository":{"id":39125324,"uuid":"160868858","full_name":"robinmanuelthiel/microcommunication","owner":"robinmanuelthiel","description":"A Demo project for micro-service intercommunication","archived":false,"fork":false,"pushed_at":"2024-05-05T10:23:25.000Z","size":3667,"stargazers_count":5,"open_issues_count":28,"forks_count":5,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-29T16:58:36.730Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robinmanuelthiel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-07T19:49:40.000Z","updated_at":"2025-01-02T13:34:02.000Z","dependencies_parsed_at":"2024-03-25T14:01:56.385Z","dependency_job_id":"ad726b56-23c6-4bb7-b9b8-35123c332a9b","html_url":"https://github.com/robinmanuelthiel/microcommunication","commit_stats":{"total_commits":169,"total_committers":2,"mean_commits":84.5,"dds":"0.017751479289940808","last_synced_commit":"3c33ed45ca2b4e0cafec0751d57b2798dcae242c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robinmanuelthiel/microcommunication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinmanuelthiel%2Fmicrocommunication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinmanuelthiel%2Fmicrocommunication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinmanuelthiel%2Fmicrocommunication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinmanuelthiel%2Fmicrocommunication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robinmanuelthiel","download_url":"https://codeload.github.com/robinmanuelthiel/microcommunication/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinmanuelthiel%2Fmicrocommunication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30236048,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T19:01:10.287Z","status":"ssl_error","status_checked_at":"2026-03-07T18:59:58.103Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T17:59:10.364Z","updated_at":"2026-03-07T23:02:36.034Z","avatar_url":"https://github.com/robinmanuelthiel.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Screenshot of the Web Frontend](assets/Screenshot.png)\n\n# Micro-service Intercommunication Demo\n\n[![Docker](https://img.shields.io/badge/Docker%20Hub-microcommunication--api-blue.svg?logo=docker)](https://hub.docker.com/r/robinmanuelthiel/microcommunication-api/)\n\u0026nbsp;\n[![Docker](https://img.shields.io/badge/Docker%20Hub-microcommunication--web-blue.svg?logo=docker)](https://hub.docker.com/r/robinmanuelthiel/microcommunication-web/)\n\u0026nbsp;\n[![Docker](https://img.shields.io/badge/Docker%20Hub-microcommunication--random-blue.svg?logo=docker)](https://hub.docker.com/r/robinmanuelthiel/microcommunication-random/)\n\u0026nbsp;\n![Build and push Docker images](https://github.com/robinmanuelthiel/microcommunication/workflows/Build%20and%20push%20Docker%20images/badge.svg)\n\u0026nbsp;\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=robinmanuelthiel_microcommunication\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=robinmanuelthiel_microcommunication)\n\nThis is a small demo project to quickly setup a mix of containerized micro-services that communicate with each other within the network. This demo is intended to provide a playground for orchestrators!\n\nThe project consists of\n\n- An API Gateway, written in .NET Core, exposes port `8080` (`8080` when in a Container)\n- A Radom Number Generator Service, written in .NET Core, exposes port `8090` (`8080` when in a Container)\n- A Web Frontend, written in Angular, exposes port `4200` (`8080` when in a Container)\n\n## Make it run\n\n### Prerequisites\n\n- [.NET Core 3.1 SDK](https://dotnet.microsoft.com/download)\n- [Angular CLI](https://cli.angular.io/)\n- [Docker](https://www.docker.com/products/docker-desktop)\n\nThe easiest way to run and debug the microservices on you development machine is [Visual Studio Code](https://code.visualstudio.com/). Just open the folder and select one of the Debug configurations.\n\n![Screenshot of Visual Studio Code](assets/LaunchInVsCode.png)\n\n## Environment variables\n\nYou need to set some environment variables to configure the services and their discovery.\n\n`MicroCommunication.Api`:\n\n- `ApiKey=test123` _Optional: The key, that the API allows for authorization_\n- `RedisCacheConnectionString=...` _Optional: The connection string for a Redis Cache to sync SignalR Hubs_\n- `ApplicationInsightsConnectionString=...` _Optional: The Azure Application Insights Connection String_\n- `Cors` _Optional: The domain of your web app to add to the CORS_\n- `RandomApiUrl` _The URL to connect to the Random Service_\n\n`MicroCommunication.Random`:\n\n- `MongoDbConnectionString=mongo://...` _Optional: The connection string for a Mongo DB to store the history in_\n- `ApplicationInsightsConnectionString=...` _Optional: The Azure Application Insights Connection String_\n- `Cors` _Optional: The domain of your web app to add to the CORS_\n\n`MicroCommunication.Web`:\n\n- `API_URL=http://localhost:8080` _Where to find the API_\n- `API_KEY=test123` _Which key to use when calling the API_\n- `APPLICATION_INSIGHTS_CONNECTION_STRING=...` _Optional: The Azure Application Insights Connection String_\n\n## Deploy\n\nThis Demo project is intended to be tested within container orchestrators. For the various different orchestrators out there, you can find configuration files for multiple different ones in the repository.\n\n### Kubernetes\n\n#### Manifests\n\n```bash\nkubectl create -f env/kubernetes\n```\n\n#### Helm\n\n```bash\nhelm install microcommunication env/helm \\\n  --namespace microcommunication \\\n  --create-namespace\n```\n\n#### GitOps with Flux\n\n```bash\nhelm repo add fluxcd https://charts.fluxcd.io\n\nhelm upgrade -i flux fluxcd/flux \\\n  --set git.url=https://github.com/robinmanuelthiel/microcommunication.git \\\n  --set git.path=env/kubernetes \\\n  --set git.readonly=true \\\n  --namespace flux\n```\n\n### Docker Compose\n\n```bash\ndocker compose -f env/docker/docker-compose.yaml up\n```\n\n## Testing\n\n### Performance Test\n\n```bash\nk6 tests/performance/script.js\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinmanuelthiel%2Fmicrocommunication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobinmanuelthiel%2Fmicrocommunication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinmanuelthiel%2Fmicrocommunication/lists"}