Ohhh, so today I did another thing
https://developers.clarionhub.com/ (see below for the reason this changed!)
This was a fun little project which I will write up in more detail if anyone is interested.
Single Page App
Everything you see comes from a single
index.html file with a few
<script>/link> bits included...
Buefy - Lightweight UI components for Vue.js based on Bulma
axios - Promise based HTTP client for the browser and node.js
Font Awesome - The iconic font and CSS toolkit
ClarionHub Discourse API
All the data comes directly from the ClarionHub website using the built in API.
If you have filled in the "Available for work" user field then you will get the badge and you will be listed. If you have filled in website/location/profile then that data also appears in the list!
Azure Functions - You may recall I did a webinar a while back on azure functions? This is a super neat way to get just the compute time you need backed by the brilliant azure!
- Azure Storage - static file is in an azure storage blob. I am actually looking at the azure CDN instead just for fun but this was easiest to setup for now. The actual end-point is still "hidden" behind:
Azure Functions Proxies - This was not available when I did the webinar but it solved the final issue I think. Custom domain, default route.. done! <-- Even just this was too slow. Boo!
- Azure CDN - though getting a default route to index.html and waiting for the CDN to propagate is a total PITA!
- Cloudflare - a very convenient way to get dns running as well as SSL.