Skip to content

mihkels/spring-boot-getting-started

Repository files navigation

Spring Boot Getting Started Guide

Build Status Build Status

Here are my personal notes about how-to set up local Spring Boot web app with Astro frontend.

Learning Objectives

  1. Setup Spring Boot project in IntellijIDE
  2. Building a project with Gradle
  3. Use Jetty Embedded app server instead of Tomcat
  4. Set up GitHub Actions for CI
  5. Deploy to DigitalOcean App platform
  6. Build Docker images of native frontend and backend

Requirements

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

Build the project

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 

About

Simple getting started guide for Spring Boot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published