/manifold-sample-web-app

A sample SparkJava-based web application using Manifold Templates (ManTL) and Manifold JSON Schema

Primary LanguageCSSApache License 2.0Apache-2.0

manifold-sample-web-app

A sample web application using:

Usage

IntelliJ IDEA

Manifold is best experienced in IntelliJ IDEA.

  • Install the Manifold IntelliJ plugin directly from IntelliJ IDEA:

    SettingsPluginsBrowse repositories ➜ search: Manifold

  • Close and relaunch IDEA

  • Open this project: manifold-sample-web-app

  • Be sure to setup an SDK for Java 11: Project StructureSDKs+JDK

  • Or change the pom.xml file to use a JDK of your choosing, Manifold fully supports Java 8 - 11

Running and Using the App

  • Run the todoapp.App class directly with Java
  • or load this project in IntelliJ and run the todoapp.App class
  • Launch a browser and go to http://localhost:4567

Developing ManTL Files & the JSON Schema API

The Manifold plugin for IntelliJ provides professional quality ManTL template authoring as well as JSON Schema editing including code completion, usage searching, navigation, and refactoring.

  • Open this project and begin developing .mtl & .json files directly with comprehensive IntelliJ feature support

Hot Swap Usage

  • Open this project in IntelliJ IDEA and debug the todoapp.App class
  • Launch a browser and go to http://localhost:4567
  • Make changes to any ManTL file (*.mtl) and build your changes: BuildBuild Project
  • Reload the page in your browser to see your changes