See the step-* branches for the code... Links https://zeit.co/now https://nextjs.org https://rauchg.com/2014/7-principles-of-rich-web-applications