it is a basic web app, written using Spring Boot.
Run mvn package
to build the project, this will create a single file
in target/spring-demo-VERSION.jar
. Then you can start the server, using:
java -jar target/spring-demo-VERSION.jar
You can get hot reload in both the server and the frontend. In order to
do this, run the main class of the app with your IDE (or using mvn spring-boot:run
)
and then run yarn start
in the src/main/webapp
folder. It should run in http://localhost:8080/.
If you want to check that it just work, run mvn verify
.
Also, to run only the unit test, use mvn test
. And to run only
the integration tests, use mvn failsafe:integration-test
.
The documentation of the REST API is built automatically on mvn package
. You can see it
by running the server and going to http://localhost:8080/docs.
Also, you can see it after a mvn prepare-package
, that will run the tests and generate the documentation
into target/generated-docs/index.html
.
- Java - Programming Language
- Maven - Dependency Management and Build Tool
- Spring Boot - Java Web Framework
- H2 - Embedded Database (development)
- PostgreSQL - Relational Database
- Webpack - JavaScriptModule Bundler
- Yarn - JavaScript Package Manager
- Vue - JavaScript UI Framework
- Gustavo Paulo - gpaulo00