A simple example application to show how to use dropwizard with a react UI.
- Run
mvn clean package
to build your application - Start application with
java -jar target/dropreact-1-SNAPSHOT.jar server config.yml
- To check that your application is running enter url
http://localhost:8080
- Run
mvn clean package
to build your application - Start application with
java -jar target/dropreact-1-SNAPSHOT.jar server config.yml
- Start the development web server with
cd src/web && yarn start
- Access your application via
http://localhost:3000
The react dev webserver will proxy all requests to the dropwizard API server
at http://localhost:8080
.