Stack technologies used: Java, Spring Boot, Hibernate ORM, MySQL Database, Swagger Docs, Docker container
-
Create a database named
libreria
. -
Open
src/main/resources/application.properties
and changespring.datasource.username
andspring.datasource.password
properties as per your MySQL installation. -
Type
mvn spring-boot:run
from the root directory of the project to run the application.
- Clone project:
git clone https://github.com/martinambrueso/TPFinalPDA.git
- Move to project folder and in root directory run this comand:
mvn package
- Move to folder project (C:\Users{user}\Desktop{folder_project}\target) and run command test inside to folder:
java -jar target/TPPDAFinal-0.0.1-SNAPSHOT.jar
- If the status returned is success, then you will do run this command:
docker build -t springio/gs-spring-boot-docker .
- And now, you can run this docker app with:
docker run -p 8080:8080 springio/gs-spring-boot-docker
-
To view the documentation module, visit http://localhost:8080/swagger-ui.html/
-
The base URL to test this app is: http://localhost:8080/api/v1
You can run this projecto from your local device, only you need Apache Maven installed or Spring Boot Suit
- Clone project:
git clone https://github.com/martinambrueso/TPFinalPDA.git
- Move to project folder and in root directory run this comand:
mvn package && java -jar target/TPPDAFinal-0.0.1-SNAPSHOT.jar
- The application will be running on port 8080: http://localhost:8080/api/v1