pmeller / react-spring-webpack-isomorphic-boilerplate

Spring application with React server-side rendering and isomorphic client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-spring-webpack-isomorphic-boilerplate

This boilerplate is based on https://github.com/pugnascotia/spring-react-boilerplate, but it's simplified.

Main features:

  • Spring Boot application
  • React on the server-side for rendering views
  • SPA on the client-side
  • react-router for page routing, on client and server
  • react-helmet for managing <head>
  • custom Webpack config with hot reloading

Prerequisites

  • Java (minimum version 1.8.0_65)
  • node (NVM is recommended)
  • yarn

Install & run in development mode

  • ./gradlew bootRun installs all dependencies and runs development server
  • yarn start runs webpack development server

For the best development experience just run ./gradlew bootRun and yarn start in separate terminals.

About

Spring application with React server-side rendering and isomorphic client


Languages

Language:JavaScript 69.0%Language:Java 28.2%Language:HTML 2.0%Language:CSS 0.8%