Here are my personal notes about how-to set up local Spring Boot web app with Astro frontend.
- Setup Spring Boot project in IntellijIDE
- Building a project with Gradle
- Use Jetty Embedded app server instead of Tomcat
- Set up GitHub Actions for CI
- Deploy to DigitalOcean App platform
- Build Docker images of native frontend and backend
Configuration and tools I used to develop the demo application
- macOS 15
- Java GraalVM 21 to build native image
- Deno 2 to for frontend development
- Homebrew package manager to install
mise
mise
as my development package manager- Gradle 8.10.2
- Intellij 2024.2
- Docker
Before installing the project, make sure you have installed the following tools:
brew install mise
# The version of GraalVM can be different but it should be 21 or higher
mise install [email protected]
mise install deno@latest
# make sure the version mentioned above are activated
mise use [email protected]
mise use deno@latest
Now clone the project:
git clone https://github.com/mihkels/spring-boot-getting-started.git \
cd spring-boot-getting-started
Now, build the project:
./gradlew build && cd static && deno install