Skip to content

KnowledgeGarden/vcore-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vcore-todo

A simple ToDo app built with Vue and served by VERT.X

Requirements

  • 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

Building

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.

Building Javascript

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

Database

In the file sql/readme.txt you will find instructions for installing the database on PostgreSQL

Building Java

In the root directory (where pom.xml is)

  • mvn clean install exec:java That will boot and run the system at localhost:8080