Running through your medium article on running this locally and hitting an error early on with the "yarn serverless command". When I run it I get an error with the index.ts file related to line 4 where getMetamask is imported:
Cannot find module './metamask' or its corresponding type declarations.
Very likely I am completely missing a step here on that download piece that would define that module somewhere.