{"id":18778344,"url":"https://github.com/ajsalemo/dapr-distributed-application","last_synced_at":"2026-04-10T12:31:47.281Z","repository":{"id":103500860,"uuid":"406527373","full_name":"Ajsalemo/Dapr-Distributed-Application","owner":"Ajsalemo","description":"A Dapr application made up of a React/Express front-end and a Flask back-end in self-hosted mode with Docker-Compose.","archived":false,"fork":false,"pushed_at":"2021-11-15T21:48:45.000Z","size":911,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-09T17:05:09.414Z","etag":null,"topics":["backend","dapr","dapr-component","dapr-sidecar","docker","docker-compose","express","flask","frontend","linux","python","react"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ajsalemo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2021-09-14T21:33:38.000Z","updated_at":"2022-05-27T20:40:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"92adba8d-11a0-47f7-98aa-deca395256df","html_url":"https://github.com/Ajsalemo/Dapr-Distributed-Application","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ajsalemo/Dapr-Distributed-Application","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajsalemo%2FDapr-Distributed-Application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajsalemo%2FDapr-Distributed-Application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajsalemo%2FDapr-Distributed-Application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajsalemo%2FDapr-Distributed-Application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ajsalemo","download_url":"https://codeload.github.com/Ajsalemo/Dapr-Distributed-Application/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ajsalemo%2FDapr-Distributed-Application/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31642716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T07:40:12.752Z","status":"ssl_error","status_checked_at":"2026-04-10T07:40:11.664Z","response_time":98,"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":["backend","dapr","dapr-component","dapr-sidecar","docker","docker-compose","express","flask","frontend","linux","python","react"],"created_at":"2024-11-07T20:15:58.917Z","updated_at":"2026-04-10T12:31:47.215Z","avatar_url":"https://github.com/Ajsalemo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dapr-Distributed-Application\n\nA [Dapr](https://dapr.io/) application made up of a React/Express front-end and a Flask back-end in self-hosted mode with Docker-Compose. [Envoy](https://www.envoyproxy.io/docs/envoy/latest/) is used as a proxy to the rest of the containers - with the entrypoint being set to port 10000.\nCurrently developed to be ran in self-hosted mode.\n\nProject structure:\n- `frontend`: \n  - A React application which utilizes Express to serve it's static files and run server side calls to make use of its Dapr sidecar.\n  - Uses Daprs [service invocation](https://docs.dapr.io/reference/api/service_invocation_api/) which calls to Daprs `frontend` sidecar. This call invokes the associated endpoint on the `backend` service which is used to retrieve a list of bikes from Azure Database for PostgreSQL.\n  - Uses Daprs [secrets API](https://docs.dapr.io/reference/api/secrets_api/) to retrieve secrets for a local environment Secret Store(.env file).\n- `backend`:\n  - A Flask application which retrieves data from Azure Database for PostgreSQL and returns this to the `frontend` to be displayed.\n- `components`:\n  - Dapr components are defined in this location.\n  - `config.yaml` is defined to utilize [Dapr distributed tracing with Zipkin](https://docs.dapr.io/operations/monitoring/tracing/setup-tracing/#zipkin-in-self-hosted-mode)\n  - `localsecretstore.yaml` is defined to utilize the local environment variable secret store.\n- `envoy`:\n  - Envoy and it's custom `envoy.yaml` is defined in this location.\n  - The `Dockerfile` is used to pull Envoy's image while `envoy.yaml` has a custom configuration that is copied over to the containers default configuration for this project\n  - In this example, requests are proxied via Envoy on port 10000 to the other containers(services). Additionally, and example of how to remove headers have been added. So far removing the `x-powered-by` header in the `envoy.yaml`.\n\n![Imgur](https://imgur.com/WUCzN9T.png)\n\n\u003cbr\u003e\n\n![Imgur](https://imgur.com/zjUyQB4.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajsalemo%2Fdapr-distributed-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajsalemo%2Fdapr-distributed-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajsalemo%2Fdapr-distributed-application/lists"}