Skip to content

Multiplayer game boilerplate, React, Phaser, SocketIO, Node, Webpack

Notifications You must be signed in to change notification settings

jjwallace/react-arcade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Arcade

A ReactJS / PhaserJS arcade featuring NodeJS, SocketIO, Express, Webpack, RESTAPI

Play on a computer monitor and use your phones as controllers.

Getting started

  1. Run npm install.
  2. Create a .env file that specifies a port. (ie PORT=8000)
  3. Run npm start.
  4. Navigate to localhost:8000

npm scripts

Here is a breakdown of the included npm scripts

  • start - runs nodemon and watch-server in paralell.
  • nodemon - starts nodemon to inspect server and restart server when a new build is created.
  • watch-server - builds Node backend with Webpack and watches the server directory for changes to rebuild backend.
  • build-prod - creates a production build of client and server.
  • build-dev - creates a development build of the server which builds the client with WebpackDevMiddleware.

Boilerplated from:

https://github.com/WillBeesOn/react-node-webpack-boilerplate

Phaser 3.0 code examples from:

https://phaser.io/examples

About

Multiplayer game boilerplate, React, Phaser, SocketIO, Node, Webpack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •