Skip to content

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

Notifications You must be signed in to change notification settings

daggerok/spring-boot-nextjs-redux-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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