For building and running the application you need:
You will need to setup your own database or create a database with the following configuration
spring.datasource.url=jdbc:postgresql://localhost:5432/persona-db
spring.datasource.username=postgres
spring.datasource.password=admin
There are several ways to run a Spring Boot application on your local machine. One way is to execute the main
method in the xyz.yoandroide.persona.PersonaBackendApplication
class from your IDE.
Alternatively you can use the Spring Boot Maven plugin like so:
mvn spring-boot:run
- default spring boot config http://localhost:8080/
- default swagger url http://localhost:8080/swagger-ui/
You can download the front-end project personafront or get more information in Yo Androide Curso completo de SPRING BOOT CRUD + JPA + POSTGRESQL +REST + Angular