https://github.com/bernd/dropreact
Example Dropwizard & React application
https://github.com/bernd/dropreact
dropwizard react
Last synced: 2 months ago
JSON representation
Example Dropwizard & React application
- Host: GitHub
- URL: https://github.com/bernd/dropreact
- Owner: bernd
- Created: 2018-03-13T11:08:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-13T11:09:41.000Z (over 8 years ago)
- Last Synced: 2026-01-14T10:40:11.531Z (5 months ago)
- Topics: dropwizard, react
- Language: JavaScript
- Homepage:
- Size: 118 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# drop-react - Example Dropwizard & React application
A simple example application to show how to use dropwizard with a react UI.
## How to start the DropReact application
1. Run `mvn clean package` to build your application
1. Start application with `java -jar target/dropreact-1-SNAPSHOT.jar server config.yml`
1. To check that your application is running enter url `http://localhost:8080`
## Development
1. Run `mvn clean package` to build your application
1. Start application with `java -jar target/dropreact-1-SNAPSHOT.jar server config.yml`
1. Start the development web server with `cd src/web && yarn start`
1. Access your application via `http://localhost:3000`
The react dev webserver will proxy all requests to the dropwizard API server
at `http://localhost:8080`.