/ASA-Samples-Web-Application

A sample spring web application running on ASA

Primary LanguageTypeScriptMIT LicenseMIT

Azure Spring Apps Sample - Simple Todo App

There are 2 branches about this repository:

  1. quickstart. This branch is used to teach you to run spring web application in Azure Spring Apps (ASA) in a short time.
  2. reference-architecture. This branch give the reference architecture (best practice) of running spring web application in Azure Spring Apps.

Prerequisites

  • Java 17 or later

Run the app in localhost

  1. Build sample project.

    ./mvnw clean package -DskipTests
  2. Run sample project.

    ./mvnw spring-boot:run -f web/pom.xml
  3. Access http://localhost:8080 by browser, you will see a page like this:

web.png

Run the app in Azure Spring Apps.

Please refer to Quickstart: Launch your first web app (todo: Update the link when the article is ready.) to get more information about running the app in Azure Spring Apps.