Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ademcatamak/sellermanagement
Azure Function App Tutorial
https://github.com/ademcatamak/sellermanagement
Last synced: about 4 hours ago
JSON representation
Azure Function App Tutorial
- Host: GitHub
- URL: https://github.com/ademcatamak/sellermanagement
- Owner: AdemCatamak
- Created: 2023-07-23T22:18:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-04T23:35:43.000Z (about 1 year ago)
- Last Synced: 2023-09-05T07:57:11.787Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# Seller Management
This project was created as a sample project to gain experience on the Azure Functions tool. It contains examples of different trigger scenarios such as HttpTrigger, CosmosDbTrigger, ServiceBusTrigger and IDurableContextTrigger.
An example is created through a scenario about the demand to be a seller on a platform.
1- The user creates a record. (HttpTrigger)
2- The message that a seller is created in the system is raised. (CosmosDbTrigger -> ServiceBus).
3- An e-mail is sent to the seller about the rules and its approval is awaited. (ServiceBusTrigger -> DurableClient)
4- The seller approves or rejects. (HttpTrigger -> DurableClient)
5- Depending on the response of the person, the status of the seller object changes. (OrchestrationTrigger)
## __RUN__
You can easily create the required components in your own azure account by using the bicep file located under the infra file. If you have [Azure Account](https://marketplace.visualstudio.com/items?itemName=ms-vscode.azure-account) and [Bicep](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-bicep) extensions on VsCode, you can easily right click on the file and say publish and create all components.
After this process, you can get a local settings file by getting rid of the template extension at the end of the local.settings.json.template file. When you place the connection strings for the storage-account, cosmos-db and service-bus you created into this file, the application will become executable in the local environment.