A simple ToDo app built with Vue and served by VERT.X
- Recent Node and NPM
- Recent PostgreSQL
- Java 11 (not tested but might run on Java 8, not tested on higher JDK versions)
- Vert.x 4 as demanded by the Maven script
This is a combined Maven Java app and an NPM Node Vue app, which
is located directly in src/main/app
of the Java system.
It is there because, when built, a directory src/main/app/dist
is created, and that is required for the Java application to serve.
In the long run, there is a Maven plugin in the pom.xml
file
which can build the javascript, but it's not running yet, so it is commented out.
For now, cd to src/main/app
and execute these:
npm install
npm run build
In the file sql/readme.txt
you will find instructions
for installing the database on PostgreSQL
In the root directory (where pom.xml
is)
- mvn clean install exec:java
That will boot and run the system at
localhost:8080