Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/h1romas4/springboot-template-web
Spring Boot and Web-frontend project template with IDE integration.
https://github.com/h1romas4/springboot-template-web
gradle nodejs spring-boot vscode webpack
Last synced: 12 days ago
JSON representation
Spring Boot and Web-frontend project template with IDE integration.
- Host: GitHub
- URL: https://github.com/h1romas4/springboot-template-web
- Owner: h1romas4
- License: apache-2.0
- Created: 2017-12-05T16:00:39.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2023-11-11T14:41:15.000Z (about 1 year ago)
- Last Synced: 2024-04-20T09:06:35.934Z (7 months ago)
- Topics: gradle, nodejs, spring-boot, vscode, webpack
- Language: Java
- Homepage: https://qiita.com/h1romas4/items/8345e313b351c992df08
- Size: 5.04 MB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# springboot-template-web
![](https://github.com/h1romas4/springboot-template-web/workflows/Java%20CI/badge.svg)
## Try with Gitpod
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io#https://github.com/h1romas4/springboot-template-web)
## Build and Boot
### Require
* Setup JDK 11 and `JAVA_HOME` setting
* Setup Node.js 18 (optional)
* Install VSCode (optional)### Initialize
```
git clone https://github.com/h1romas4/springboot-template-web.git
cd springboot-template-web
./gradlew build
./gradlew eclipse
# start vscode in source code directory
code .
```### Develop
Backend and Frondend Develop (with automatic reload)
```
# start Spring Boot
./gradlew bootRun
# and start webpack watch (another terminal)
./gradlew --no-daemon watch
``````
http://localhost:8080/
```Only Frondend Develop (with automaic reload)
```
# use internal Node.js
./gradlew --no-daemon server
# or external Node.js
npm run server
``````
http://localhost:9080/
```Enjoy!