{"id":19656287,"url":"https://github.com/daggerok/spring-boot-nextjs-redux-app","last_synced_at":"2025-04-28T18:32:47.314Z","repository":{"id":151042069,"uuid":"478355213","full_name":"daggerok/spring-boot-nextjs-redux-app","owner":"daggerok","description":"Example of using Next.js as static site generator together with Redux and react-redux to be served with Spring Boot Web Thymeleaf","archived":false,"fork":false,"pushed_at":"2022-04-06T01:34:51.000Z","size":113,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T10:23:04.076Z","etag":null,"topics":["frontend-maven-plugin","github-action","github-actions","maven","next","nextjs","nextjs-export","npm","npx","redux","redux-react","spring-boot","spring-boot-2","spring-mvc","spring-thymeleaf","thymeleaf"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daggerok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-06T01:11:18.000Z","updated_at":"2024-06-18T08:47:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"5915299d-f534-423b-b23f-390b8886329e","html_url":"https://github.com/daggerok/spring-boot-nextjs-redux-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fspring-boot-nextjs-redux-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fspring-boot-nextjs-redux-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fspring-boot-nextjs-redux-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fspring-boot-nextjs-redux-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daggerok","download_url":"https://codeload.github.com/daggerok/spring-boot-nextjs-redux-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251366121,"owners_count":21578077,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["frontend-maven-plugin","github-action","github-actions","maven","next","nextjs","nextjs-export","npm","npx","redux","redux-react","spring-boot","spring-boot-2","spring-mvc","spring-thymeleaf","thymeleaf"],"created_at":"2024-11-11T15:27:21.694Z","updated_at":"2025-04-28T18:32:47.309Z","avatar_url":"https://github.com/daggerok.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot and Next.js [![tests](https://github.com/daggerok/spring-boot-nextjs-redux-app/actions/workflows/tests.yml/badge.svg)](https://github.com/daggerok/spring-boot-nextjs-redux-app/actions/workflows/tests.yml)\nExample of using Next.js as static site generator together with `redux` and `react-redux` to be served with Spring Boot Web Thymeleaf\n\n## Backend development\n\n```bash\n./mvnw clean compile spring-boot:run\n```\n\n## Frontend development\n\n```bash\n./mvnw frontend:install-node-and-npm frontend:npm@npm-run-dev -Pdev\n```\n\n## Serve static frontend\n\n```bash\n./mvnw clean frontend:install-node-and-npm frontend:npm@npm-run-export frontend:npx@npx-serve-out -Pserve\n```\n\n## Test, build and run app\n\n```bash\n./mvnw ; java -jar target/*.jar\nopen http://127.0.0.1:8080\n```\n\n## RTFM\n* https://www.youtube.com/watch?v=zrs7u6bdbUw\n* https://medium.com/javascript-scene/do-react-hooks-replace-redux-210bab340672\n* https://stackoverflow.com/a/70360521/1490636\n* https://nextjs.org/docs/messages/failed-loading-swc\n* https://github.com/netty/netty/issues/11020\n* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html)\n* [Spring Boot Maven Plugin Reference Guide](https://docs.spring.io/spring-boot/docs/2.6.6/maven-plugin/reference/html/)\n* [Create an OCI image](https://docs.spring.io/spring-boot/docs/2.6.6/maven-plugin/reference/html/#build-image)\n* [Coroutines section of the Spring Framework Documentation](https://docs.spring.io/spring/docs/5.3.18/spring-framework-reference/languages.html#coroutines)\n* [Spring Configuration Processor](https://docs.spring.io/spring-boot/docs/2.6.6/reference/htmlsingle/#configuration-metadata-annotation-processor)\n* [Spring Reactive Web](https://docs.spring.io/spring-boot/docs/2.6.6/reference/htmlsingle/#web.reactive)\n* [Building a Reactive RESTful Web Service](https://spring.io/guides/gs/reactive-rest-service/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fspring-boot-nextjs-redux-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaggerok%2Fspring-boot-nextjs-redux-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fspring-boot-nextjs-redux-app/lists"}