/spring-boot-nextjs-redux-app

Example of using Next.js as static site generator together with Redux and react-redux to be served with Spring Boot Web Thymeleaf

Primary LanguageKotlin

Spring Boot and Next.js tests

Example of using Next.js as static site generator together with redux and react-redux to be served with Spring Boot Web Thymeleaf

Backend development

./mvnw clean compile spring-boot:run

Frontend development

./mvnw frontend:install-node-and-npm frontend:npm@npm-run-dev -Pdev

Serve static frontend

./mvnw clean frontend:install-node-and-npm frontend:npm@npm-run-export frontend:npx@npx-serve-out -Pserve

Test, build and run app

./mvnw ; java -jar target/*.jar
open http://127.0.0.1:8080

RTFM