From 514f2e7194a875cfc53d7e1bccd922db2bbb3f3f Mon Sep 17 00:00:00 2001 From: lucashemi Date: Wed, 8 Feb 2023 14:57:43 -0300 Subject: readme --- api/src/main/resources/application.properties | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 api/src/main/resources/application.properties (limited to 'api/src/main/resources/application.properties') diff --git a/api/src/main/resources/application.properties b/api/src/main/resources/application.properties new file mode 100644 index 0000000..5c91a19 --- /dev/null +++ b/api/src/main/resources/application.properties @@ -0,0 +1,16 @@ +# Port +server.port=8081 + +# Database config +spring.datasource.url=jdbc:mariadb://localhost/voll_med_api +spring.datasource.username=root +spring.datasource.password= + +# Show sql queries +#spring.jpa.show-sql=true +#spring.jpa.properties.hibernate.format_sql=true + +# Don't return stacktrace in error 500 +server.error.include-stacktrace=never + +api.security.token.secret=${JWT_SECRET:12345678} \ No newline at end of file -- cgit v1.2.3-18-g5258