Run mvn clean package
to build both backend and front-end
- Setup system properties:
MongoDB config:
mongo.user
- db user
mongo.password
- db password
mongo.db
- db name
mongo.url
- db url
e.g. -Dmongo.user=<db user> -Dmongo.password=<db user passsword> -Dmongo.db=<db name> -Dmongo.url=<url>
-
Run Main class
-
[Optional] Run
watch
script inpackage.json
to watch changes inui/
folder and re-build frontend automatically -
Visit http://localhost:8080/