{"id":19656312,"url":"https://github.com/daggerok/spring-boot-nextjs-spa","last_synced_at":"2025-04-28T18:32:48.083Z","repository":{"id":151042044,"uuid":"477895555","full_name":"daggerok/spring-boot-nextjs-spa","owner":"daggerok","description":"Example of using Next.js as static site generator to be served with Spring Boot Web Thymeleaf","archived":false,"fork":false,"pushed_at":"2022-04-04T22:48:11.000Z","size":110,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T10:23:04.775Z","etag":null,"topics":["frontend-maven-plugin","github-actions","java","java-18","maven","maven-frontend-plugin","netty","netty-all","next","nextjs","nextjs-example","nextjs-export","npm","npx","spring-boot","spring-boot-2","spring-mvc","spring-thymeleaf","spring-webflux","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-04T22:33:02.000Z","updated_at":"2022-08-22T12:41:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"19f8eea6-f364-4437-80ea-ca4b485ec5c8","html_url":"https://github.com/daggerok/spring-boot-nextjs-spa","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-spa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fspring-boot-nextjs-spa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fspring-boot-nextjs-spa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerok%2Fspring-boot-nextjs-spa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daggerok","download_url":"https://codeload.github.com/daggerok/spring-boot-nextjs-spa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251366123,"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-actions","java","java-18","maven","maven-frontend-plugin","netty","netty-all","next","nextjs","nextjs-example","nextjs-export","npm","npx","spring-boot","spring-boot-2","spring-mvc","spring-thymeleaf","spring-webflux","thymeleaf"],"created_at":"2024-11-11T15:27:24.992Z","updated_at":"2025-04-28T18:32:48.078Z","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-spa/actions/workflows/tests.yml/badge.svg)](https://github.com/daggerok/spring-boot-nextjs-spa/actions/workflows/tests.yml)\nExample of using Next.js as static site generator 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://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-spa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaggerok%2Fspring-boot-nextjs-spa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerok%2Fspring-boot-nextjs-spa/lists"}