> https://github.com/zeit/next.js/tree/canary/examples/with-cookie-auth The only difference would be the `3001` references for ports, but it should work.