Microservice that allows the loading and administration of supplies for a municipality.
$ mvn spring-boot:run
You must create a database in PostgreSQL with a scheme called "supplies" and then configure the connection data in the st-microservice-supplies/src/main/resources/application.yml file
spring:
datasource:
url: jdbc:postgresql://localhost:5432/sistema-transicion
username: postgres
password: 123456
driver-class-name: org.postgresql.Driver
jpa:
database-platform: org.hibernate.dialect.PostgreSQL10Dialect
hibernate.ddl-auto: create
Modify the enabled property in st-microservice-supplies/src/main/resources/application.yml file:
eureka:
client:
enabled: false
Modify the enabled property in st-microservice-supplies/src/main/resources/bootstrap.yml file:
spring:
application:
name: st-microservice-supplies
cloud:
config:
enabled: false