WoW Realm Status Page: React Edition
client.js for the two React render calls. All React components are in
curl any URL to see that the server correctly filters the realms based on the filter (e.g.
http://localhost:3000/nazj will filter down the realms to ones that contain
nazj in their name or slug).
With Node.js installed:
- Install the dependencies:
- Rebuild the client bundle:
npm run build
- Run the server:
You may specify a port to bind to by specifying a
PORT environment variable, e.g.
PORT=8765 npm start.
You may watch the application for changes and continuously rebuild the client bundle by running
npm run watch instead of
npm run build.