/tasktracker

Task Tracker - Spring Boot web app using Kotlin

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Task Tracker Web Application

This repository currently serves as the demo app for my presentation, "Dogs and Cats, Living Together: Kotlin, Spring Boot and REST on Azure"

Server Technologies

Web Content Technologies

Directory Structure

  • / - Root project configuration files
    • src/main/kotlin - Kotlin source
    • src/test/kotlin - Kotlin tests
    • src/main/resources - Spring application properties files
    • src/main/public - Deploy directory for built web content
    • webcontent - Root directory for web content
      • / - Project configuration files for web content
      • src
        • html - HTML files and templates
        • js - JavaScript source
          • tests - Jasmine based unit tests
        • scss - SCSS based styles

Azure Cloud Commands

Create app service plan

az appservice plan create --name <AppServicePlanName> --resource-group <ResourceGroupName> --sku B1`

Create web app

az webapp create --name <AppName> --resource-group <ResourceGroupName> --plan <AppServicePlanName>

Add web app environment variables

az webapp config appsettings set --settings SPRING_PROFILES_ACTIVE=mssql --resource-group <ResourceGroupName> --name <AppName>
az webapp config appsettings set --settings SPRING_DATASOURCE_URL=<JDBCConnectionString> --resource-group <ResourceGroupName> --name <AppName>

Discover FTP deployment credentials

az webapp deployment list-publishing-profiles --name <AppName> --resource-group <ResourceGroupName> --query "[?publishMethod=='FTP'].{URL:publishUrl, Username:userName,Password:userPWD}" --output json