This app does nothing yet, but it does it very well.
This project needs the following tools installed and available on the PATH to be able to build & run:
- Java 12
- Node.js (preferably v12.9.1)
- Yarn (preferably 1.17.3)
- A database server (preferably Postgres, but anything that is supported by Hibernate should work)
The project can also be build using npm instead of yarn, but in that case the nodeModules task in the build.gradle file must be modified. That change should never be committed.
Not yet documented, but you'll figure it out, you clever person.
To build the project:
./gradlew buildThis builds both the angular project in src/main/webapp and the main Spring Boot Application. It also takes care of the rock. For this to work from the IDE, node must be available on the PATH inside of the IDE.
To run the project:
./gradlew bootRunTo only run the Angular Frontend, run the following from the src/main/webapp folder:
ng serveIf Angular CLI is not installed, you can run the following instead (also from the webapp folder):
./node_modules/@angular/cli/bin/ng serve