Learning a bit of express/node and rebuilding steam compare in js