Skip to content

gdutta2/springboot-apiapp-azure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springboot-apiapp-azure

Springboot App - This Connects to SQL Server Database and deploys on Azure as an API APP.

Pre requisites : Eclipse, Azure Subscription, Azure CLI, Maven Installed in your System.

  1. Import the Project as an "Existing Maven Project" in Eclipse.
  • This uses pom.xml configuration. com.microsoft.azure
    azure-webapp-maven-plugin
    1.7.0
    V2 YOUR RESOURCE GROUP YOUR APP NAME APP SERVICE PLAN RESOURCE GROUP APP SERVICE PLAN NAME F1 eastus windows 1.8 tomcat 9.0
  1. Changes required to Connect to your Database: \src\main\resources\application.Properties - Specify the SQL Connection Properties for SQL Server. spring.mmand datasource.url= spring.datasource.username= spring.datasource.password=

  2. Open Command Prompt

  3. Browse to Project Path:

cd Project_Path

  1. Build the Maven Project

mvn clean install -DskipTests

  1. Download Azure Cli

az login

  1. Deploy the Built Maven Project to Azure API APP. If the API - APP Exists in Azure -pom.xml has YOUR APP NAME GOES HERE

mvn azure-webapp:deploy

About

Springboot App which deploys on Azure as an API APP.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages