For the past few months Jason Yang has been publishing a whole series of posts about creating a Multiplayer Game in Phaser. He's currently up to Part 8 - which is about hosting the game on Heroku. Previous parts include handling user names, room logic, max players, leaderboards and more.
The series is supported with a GitHub repo with the sample code in.