Tomek on Software
Software - shaken, not stirred
Serverless diagrams with Auth0 Webtasks
A picture is worth a thousand words. And a good sequence diagram can cut the time necessary to explain the behavior of a system tenfold. How often do you need a quick and convenient way to create, modify, and share a sequence diagram with a simple URL? With Auth0 Webtasks,...
Serverless webhooks in Node 8 with Auth0 Webtasks
Many people know Auth0 Webtasks as the quickest way to set up an HTTP endpoint implemented in Node. Until now, you could write your code using Node 4.x with all public NPM modules. This week we enabled support for Node 8. Here is how you can start writing your webtasks...
Extend Stripe with Node.js
Cool people use Stripe to process payments in their apps. Cooler people extend Stripe via webhooks. But only the coolest people extend Stripe with Node.js using Auth0 Webtasks. If you are integrating payments into your application, chances are you are using Stripe. Stripe makes it easy for developers to accept...
Serverless fax from the XXI century
When Alexander Bain invented the precursor of a fax machine in 1846, he probably did not expect the technology would be ridiculed a mere century and a half later: “Could you fax over a copy?” “No, I can’t fax because of where I live.” “Where do you live?” “The 21st...
Serverless MySQL with Auth0 Webtasks
In this post, we will take a parmeterized T-SQL query: select * from crime where crimedescr like ? limit 100 and use Auth0 Webtasks to turn it into an HTTP endpoint: > wt create crime.sql ... The endpoint can we used to execute parameterized T-SQL queries against a MySQL database...
What is Function as a Service (FaaS)?
Function as a Service seems to be the new black. But what is it? This brief post will explain it. First, there was a Function Here is the function, saved to the faas.js file: module.exports = function (ctx, cb) { cb(null, 'Hello from a Function'); } Second, we make it...
Using webtasks with custom domain names
Auth0 Webtasks allow you to create lightweight, serverless web apps and microservices without worrying about hosting, yet giving you full flexibility of writing code in Node.js. This post explains how you can use webtasks with your own custom domain name and SSL, for free. TL;DR; Auth0 Webtask runtime is normally...
Create Slack signup page with Auth0 Webtasks
So you want to have a public Slack team for an open source project or community? Someone recently asked me if there is a Slack channel for Edge.js where questions can be asked. I thought it was a great idea to create one as a modern equivalent of IRC (kids,...
Accept Stripe payments without a backend using Webtasks
Can I ask you to buy me a coffee? A cup of tall dark rost costs $2.14 at my local Starbucks. Just click the button below and use your credit card. Haven’t clicked yet? I am not surprised, a payment button on a blog post does not inspire a lot...
Edge.js adds support for scripting CoreCLR from Node.js
The Edge.js project allows you to script CLR from Node.js in-process on Windows, OSX, and Linux. var edge = require('edge'); var helloWorld = edge.func(function () {/* async (input) => { return ".NET Welcomes " + input.ToString(); } */}); helloWorld('JavaScript', function (error, result) { if (error) throw error; console.log(result); }); Until...