π ° Angular + π Spring Boot - HELP DESK APP
- Go to project folder 'client' then 'angular-frontend' and install dependencies:
npm install
- Launch development server, and open
localhost:4200
in your browser:
npm start
- You donβt need to build from source to use Spring Data (binaries in repo.spring.io), but if you want to try out the latest and greatest, Spring Data can be easily built with the maven wrapper. You also need JDK 17 or above.
./mvnw clean install
- run the following command in a terminal window (in the complete) directory: src/main/java/net/javaguides/springbootbackend/Application.java
./mvnw spring-boot:run
- Gradle and Maven
The code samples in the book use Apache Maven as the build tool. If you prefer Gradle over Maven, here's a table mapping Maven commands to Gradle:
Maven | Gradle |
---|---|
./mvnw clean |
./gradlew clean |
./mvnw install |
./gradlew build |
./mvnw test |
./gradlew test |
./mvnw repackage |
./gradlew bootJar |
./mvnw spring-boot:run |
./gradlew bootRun |
./mvnw spring-boot:build-image |
./gradlew bootBuildImage |