AzureFunctions with SQL and Cosmos
This is a simple POC for using sql as main datasource as well as with cosmos as Events storage with Azure functions as webapi.
Setup API
- Download the source code
- Add your cosmos db credentials into DocumentDBRepository class.
- Add SQL CONNECTION string in local.settings.json.
- Run Migrations SQL Database.
Setup Angular code
- Download the Source code for angular from here => https://github.com/Saro-DevDozer/AngularCode-updating-list-from-listOfEvents.git
- Add your api url in environments.ts. Run the Application
- Run the API.
- npm i and npm start.
All the best.