Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/darraghoriordan/dapr-inventory
https://github.com/darraghoriordan/dapr-inventory
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/darraghoriordan/dapr-inventory
- Owner: darraghoriordan
- Created: 2022-06-27T11:42:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-07T23:01:39.000Z (over 2 years ago)
- Last Synced: 2024-10-17T00:18:12.049Z (3 months ago)
- Language: TypeScript
- Size: 724 KB
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What is this?
A learning tool and demo for building microservies with good dev experience.
There's apps in .net, react and nodejs. There's instances of prometheus, envoy, grafana, dapr, seq, zipkin, alertmanager.
It's all local in docker compose which is nice for dev experience imho.
There's localstack, local dynamo and a bunch of other service communication and pubsub services for dependencies.
# Building
rename dapr-secrets-local.json.template to dapr-secrets-local.json - if you have any issues with aws you might need a real aws secret key
rename any .env.example to .env
```bash
docker compose build
docker compose up
```# starting
note that on FIRST (only first) init the database takes a while to init so wait a minute or two then `docker compose down` and `docker compose up` again
occasionaly the products-api gets into trouble in the same way - just down a `down` and `up` an it should be ok.
There are many services that expose many ports to the host for debugging, these may cause conflicts with other running apps or containers
# Grafana
needs to be told where to find prometheus
new datasource > prometheus > source = http://prometheus:9090 , name = Dapr, default = True
then add the dashboards from /grafana-meta/dapr