Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.vscode
FrontPage
GetData
Message
WriteToDataBase
.funcignore
.gitignore
Readme.md
host.json
profile.ps1
proxies.json
requirements.psd1

Readme.md

25daysofserverless Day 11

Azure Function App

Well here we go combining all the skills :-D I did an Azure Function App (PowerShell of course) talking to a CosmosDB, like on Day 2. Combine that with the form and results like on Day 7. Finally, the messaging to Teams, like in Day 6. The new thing of the day was using the Database as a trigger, which worked well.

The Challenge

Wishmaster 2000

Wednesday, 11 December It's that time of the year when all children start wishing for something amazing to end up in their stocking!

After last week's challenge, Santa's servers are completely overwhelmed with requests from children!

To help him handle the load, your challenge today is to build him a system that takes in childrens' requests and stores them for later processing. Additionally, he wants his elves to be notified every time a new gift wish arrives. If each new wish was published to something like Slack or Microsoft Teams, that would be super helpful in keeping his elves on top of all the requests!

Santa needs an endpoint that receives data in this format:

a description of the wish who it's from address type of present (e.g toy, clothes, animal etc..) Santa should be able to query that database on his own (he's a bit of a micromanager — this helps keep him off the elves' back!), as well as having a message get posted to Slack or another chat service whenever data is added to the database.

As a bonus challenge: kids would love a nice UI to input their wishes. Help them by building a webpage with a form that submits data in the previous format!

More information

This app is running on an Azure Function App with PowerShell. Want to find out more about creating your own? Click here

Barbara Forbes
@Ba4bes
4bes.nl

You can’t perform that action at this time.