Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Latest commit

 

History

History
65 lines (37 loc) · 1.98 KB

File metadata and controls

65 lines (37 loc) · 1.98 KB

Getting Started as a Developer

These are the basic steps to set up your own environment for development.

  1. Set up infrastructure in Azure using Terraform
  2. Create database
  3. Publish Azure Functions
  4. Test by executing a business process

FAQ

  1. How do I debug my function?
  2. Tips for trouble shooting
  3. How do I use a local SQL Server when doing db development?

Set up infrastructure in Azure using Terraform

Instructions are here.

There is a utility script that can be used for subsequent Terraform deployments here.

Create database

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

Publish Azure Functions

Instructions are here.

There is a utility script that can be used for Azure Publish here

Test by executing integration tests

Run integration tests as documented here

Test by executing a business process

TODO

  • E.g. Postman
  • Example messages
    • Requires SQL seed and test data

FAQ

How do I debug my function?

TODO

  • local.settings.sample.json

Tips for trouble shooting

TODO

  • inspect topics using Azure Service Bus Explorer
  • inspect database (how to obtain credentials)

How do I use a local SQL Server when doing db development?

Install local SQL server as documented here