Open zakisaadeh opened 4 years ago
Please include what kind of configuration and 3rd party services we need to setup. What environment variables to set?
Please include what kind of configuration and 3rd party services we need to setup. What environment variables to set?
Hi, I will include sample config file with description of desired variables soon.
- How the services work with each other (maybe a high level description or diagram). Basically there are 3 main parts (functions).
- API function: Contains all endpoints necessary for communications with application clients.
- Admin function: Contains secured endpoint which can be consumed by some front-end clients (SPA, Webs, etc.) or directly by your government APIs.
- Worker function: Contains scheduled jobs whose can send notification to the clients or count some statistics. You can easily implement other jobs which will fit your needs.
- How to deploy this solution? What's needed for deployments to work?
- You have many options how to deploy each function to cloud. Azure pipelines: https://docs.microsoft.com/en-us/azure/devops/pipelines/targets/azure-functions?view=azure-devops&tabs=dotnet-core%2Cyaml Manually: https://docs.microsoft.com/en-us/azure/azure-functions/functions-deployment-technologies
What depends on what?
- It is classic onion model of DDD. Azure Functions are just presentation layer you can easily swap them for a Web app, Service fabric, Kubernetes ... The only role of this presentation layer is to fire mediator commands/queries. I will create some basic diagrams soon.
@Daziko Thanks for all the above. Any chance you could create the docs sooner rather than later? We're in a dire need to deploy this for our country and it would be great if you can help with additional docs to get us up and running pretty quickly. I assume that other devs looking at this may be in the same boat.
@Daziko there's also the mapping between the service endpoints requested by the apps and how they map to the Azure Functions, is it possible to also add the API Gateway info (I'm trying to piece the info out between what the apps and the Azure Functions but giving the info could make life a ton easier).
Thanks in advance.
Hi,
This is a great initiative. However, if it is to be used successfully, we need to be able to understand 1. How the services work with each other (maybe a high level description or diagram).
Thanks!