Skip to content

A Starter Project with RxJava + Spring and React + RxJS (redux-observable)

Notifications You must be signed in to change notification settings

taku-k/rx-spring-boot-react-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RxJava 2 + Spring Boot & RxJS(Redux-Observable) + React Starter Project

Build Status Coverage Status

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:

Getting Started

Prerequisites

  • Java 8
  • Node.js > 5

Installation

$ git clone https://github.com/taku-k/reactor-spring-boot-react-starter app-name
$ cd app-name/ui
$ yarn || npm install

Development

Frontend

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

Backend

You can run the web server with gradle:

  • Tomcat server is launched at 8090 port:
    • $ ./gradlew bootRun

Production

You can get all assembled jar file by one command:

  • $ ./gradlew allAssemble

TODO

  • Add tests for both backend and frontend
  • Add more Reactor examples

License

MIT License, 2016