These are the basic steps to set up your own environment for development.
- Set up infrastructure in Azure using Terraform
- Create database
- Publish Azure Functions
- Test by executing a business process
FAQ
- How do I debug my function?
- Tips for trouble shooting
- How do I use a local SQL Server when doing db development?
Instructions are here.
There is a utility script that can be used for subsequent Terraform deployments here.
Build and execute the command line tool ApplyDBMigrationsApp
with connection string to your deployed database. The tool is in this solution. Detailed instructions are here.
The connection string can be found in the configuration of the charge command receiver function in the Azure portal.
TODO: includeSeedData
and includeTestData
Instructions are here.
There is a utility script that can be used for Azure Publish here
Run integration tests as documented here
TODO
- E.g. Postman
- Example messages
- Requires SQL seed and test data
TODO
local.settings.sample.json
TODO
- inspect topics using Azure Service Bus Explorer
- inspect database (how to obtain credentials)
Install local SQL server as documented here