https://github.com/manifold-systems/manifold-sample-web-app
A sample web application using Javalin + htmx + Manifold Templates (ManTL) + Manifold JSON Schema
https://github.com/manifold-systems/manifold-sample-web-app
manifold-systems sparkjava
Last synced: 4 days ago
JSON representation
A sample web application using Javalin + htmx + Manifold Templates (ManTL) + Manifold JSON Schema
- Host: GitHub
- URL: https://github.com/manifold-systems/manifold-sample-web-app
- Owner: manifold-systems
- License: apache-2.0
- Created: 2018-05-14T20:02:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-28T01:03:09.000Z (11 months ago)
- Last Synced: 2025-04-10T16:12:15.339Z (2 months ago)
- Topics: manifold-systems, sparkjava
- Language: CSS
- Homepage: http://manifold.systems/
- Size: 46.9 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# manifold-sample-web-app
A sample web application using:
* [javalin](http://javalin.io/)
* [htmx](https://htmx.org/)
* [manifold-templates](https://github.com/manifold-systems/manifold/tree/master/manifold-deps-parent/manifold-templates)
* [manifold-json](https://github.com/manifold-systems/manifold/tree/master/manifold-deps-parent/manifold-json)## Usage
### IntelliJ IDEA
Manifold is best experienced with [IntelliJ IDEA](https://www.jetbrains.com/idea/download/).
* Install the Manifold IntelliJ plugin directly from IntelliJ IDEA:Settings ➜ Plugins ➜ Browse repositories ➜ search: `Manifold`
* Close and relaunch IDEA
* Open this project: `manifold-sample-web-app`
* Be sure to setup an SDK for Java 21:
Project Structure ➜ SDKs ➜ + ➜ JDK
* Or change the `pom.xml` file to use a JDK of your choosing, Manifold fully supports Java 8 - 21 + latest JDK release### 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: Build ➜ Build Project
* Reload the page in your browser to see your changes