Install dependencies.
> npm install
Express serves static HTML, CSS and JS files.
> npm start
or manually
> node index.js
├── assets
│ └── doggy.png
├── index.html
├── index.js
└── js
└── game.js
assets/doggy.png
: An image file to render on canvasindex.html
: Draws phaser gameindex.js
: Express server codejs/game.js
: Phaser game code
Now open http://localhost:3000 There's black canvas and a single doggy sprite. That's all.