A starter using Spring-Boot and RxJava for backend, and using React, Redux, ES6 + JSX via Babel, and RxJS + Redux-Observable for frontend.
React structure follows the Ducks pattern — approach when each module's entry file (feature-name.js
) contains all of its related constants, actions/action creators, selectors, its reducer and its epic which is the core primitive of redux-observable.
This starter is powered by the following technology stack:
- Spring Boot
- RxJava 2
- React and JSX
- Redux
- RxJS
- redux-observable
- Webpack 2 and dev middleware
- Reselect
- ESLint
- React Router v4
- Flow
- Mocha
- Enzyme
- Chai
- Java 8
- Node.js > 5
$ git clone https://github.com/taku-k/reactor-spring-boot-react-starter app-name
$ cd app-name/ui
$ yarn || npm install
You can run the frontend web app:
- Hot reloading via webpack middlewares:
$ npm start
- Point your browser to http://localhost:3000/, page hot reloads automatically when there are changes
You can run the web server with gradle:
- Tomcat server is launched at 8090 port:
$ ./gradlew bootRun
You can get all assembled jar file by one command:
$ ./gradlew allAssemble
- Add tests for both backend and frontend
- Add more Reactor examples
MIT License, 2016