Creating and Using the UI Backend Template

In this tutorial, you’ll see how to create a Scala/Java project using a giter8 template for ESW ( esw-web-app-template.g8) which contains sample application make using ESW library. You can use this as a starting point for your own projects.

Installation

Supported Operating Systems are: CentOS and MacOS

  1. Make sure you have the Java AdoptOpenJDK 11.
    • Run javac -version in the command line and make sure you see javac 11._._
    • If you don’t have version 11 or higher, links given below will help you to reach there.
    • Mac
    • Linux
  2. Install sbt
  3. Install IntelliJ
  4. Install following IntelliJ Plugins
  5. Recommended testing frameworks/tools:
    • ScalaTest
    • JUnit, JUnit Interface
    • Note: these dependencies are specified by default in esw-web-app-template.g8, and the sbt will resolve them when it runs.

Create Starter Project

  1. Follow the template readme.md for detailed information about project creation.