Forked from this repository
You will need two terminal to run this project.
Run these commands in the first terminal:
cd server
# Starts a local appengine server on localhost:8080
mvn appengine:devserver
Run these commands in a second terminal:
cd client
# Installs any missing modules.
npm install
# Starts the React server on localhost:3000
npm start
-
Any changes to javascript files under client/src will be hot reloaded. This means changing UI elements through javascript will automatically appear on your local web page.
-
Any changes to java files must be recompiled by Maven. This means you must re-run
mvn appengine:devserver
from the server folder. You DO NOT need to rerun the client if a Java file is changed. -
Client and server can be run and stopped independently so you usually don't need to kill both processes during development. You will need 2 terminals open for typical development.
- Start the Appengine devserver.
- Start the React client and open http://localhost:3000
- Make changes to javascript files and check the React client.
- Make changes to java files and re-compile the Appengine devserver.
- Test changes on http://localhost:3000 to see if the server changes worked. Your changes won't show up on localhost:8080 because the server is running ui-less.
- React Developer Tools
- Redux DevTools
- Java formatter, run from top level directory
java -jar googleformatter.jar --replace $(git ls-files|grep \.java$)