-
Notifications
You must be signed in to change notification settings - Fork 0
Home
RobKraft edited this page Jun 10, 2021
·
1 revision
Welcome to the local-govt-reporter-api wiki!
The API is hosted in AWS using Lambda. The data is stored in a DynamoDB table. The code is C# .Net.
You can run the .Net REST API locally if you have AWS credentials for testing.
To deploy, simply use the "Publish to AWS Lambda" option within Visual Studio (requires you to install the AWS SDK for Visual Studio).
To debug locally, create a new AWS Profile (aws credentials) named localgovt and add your access key and secret there. use the AWS Explorer within Visual Studio to create this profile to increase the odds you get it correct.
In AWS, requests come into the "API Gateway" service and are directed to the "AWS Lambda" which queries the "AWS DynamoDB" for data to return.