{"id":15287539,"url":"https://github.com/bgalek/spring-boot-starter-spa","last_synced_at":"2025-10-12T03:30:32.296Z","repository":{"id":83193826,"uuid":"274241746","full_name":"bgalek/spring-boot-starter-spa","owner":"bgalek","description":"Zero configuration single page app configuration for spring boot","archived":false,"fork":false,"pushed_at":"2025-01-27T14:42:57.000Z","size":323,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-27T15:39:27.304Z","etag":null,"topics":["angular","react","single-page-app","spa","spring","spring-boot","spring-mvc","vue"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bgalek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-06-22T21:03:26.000Z","updated_at":"2025-01-27T14:42:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ff5dd8b-5111-4670-ad80-5f8feb683a13","html_url":"https://github.com/bgalek/spring-boot-starter-spa","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgalek%2Fspring-boot-starter-spa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgalek%2Fspring-boot-starter-spa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgalek%2Fspring-boot-starter-spa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgalek%2Fspring-boot-starter-spa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bgalek","download_url":"https://codeload.github.com/bgalek/spring-boot-starter-spa/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236154933,"owners_count":19103738,"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":["angular","react","single-page-app","spa","spring","spring-boot","spring-mvc","vue"],"created_at":"2024-09-30T15:30:36.921Z","updated_at":"2025-10-12T03:30:26.914Z","avatar_url":"https://github.com/bgalek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot Starter - Single Page App\n\u003e Zero configuration single page app configuration for spring boot\n\n[![Build](https://github.com/bgalek/spring-boot-starter-spa/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/bgalek/spring-boot-starter-spa/actions/workflows/build.yml)\n![Maven Central](https://img.shields.io/maven-central/v/com.github.bgalek.spring.boot/spring-boot-starter-spa)\n\n## Why?\nSingle Page Apps require one thing: return index.html on HTML request.\n\nSometimes it's wise to separate your apps (api backend \u0026 frontend backend + frontend) - but then you'll have to deal with versioning both aps in compatible way. \n\nFor simple use cases it's totally ok to have spring-boot serve your SPA application (build i.e. by webpack).\n\nSpring-boot does not support this feature out of the box. I've found multiple workarounds (404 page filters, manual file checking etc.)\nand decided to make no-brainer library to handle this problem.\n\n## Usage\nAdd library dependency:\n```groovy\ncompile \"com.github.bgalek.spring.boot:spring-boot-starter-spa:1.1.0\"\n```\n\nCopy your frontend application to `/public` or `/static` folder during your app build phase.\n\n## Compatibility\n\nThis configuration won't affect your:\n\n- API calls (registered Controllers)\n- Existing static files\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgalek%2Fspring-boot-starter-spa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbgalek%2Fspring-boot-starter-spa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgalek%2Fspring-boot-starter-spa/lists"}