From bbce1f241889217f54f98c50eb235f0700261d66 Mon Sep 17 00:00:00 2001 From: Victor Korir Date: Fri, 21 Oct 2022 00:17:54 -0700 Subject: [PATCH] adding application-sample.yml config --- .../src/main/resources/application-sample.yml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 server/src/main/resources/application-sample.yml diff --git a/server/src/main/resources/application-sample.yml b/server/src/main/resources/application-sample.yml new file mode 100644 index 0000000..bc87240 --- /dev/null +++ b/server/src/main/resources/application-sample.yml @@ -0,0 +1,26 @@ +app: + auth: + token-secret: 04ca023b39512e46d0c2cf4b48d5aac61d34302994c87ed4eff225dcf3b0a218739f3897051a057f9b846a69ea2927a587044164b7bae5e1306219d50b588cb1 + token-expiration-ms: 864000000 +spring: + datasource: + url: jdbc:mysql://localhost:3306/rateandreview_dev?serverTimezone=UTC + username: root + password: + graphql: + graphiql: + enabled: true + path: /graphiql + jpa: + hibernate: + ddl-auto: update + security: + oauth2: + client: + registration: + google: + client-id: + client-secret: + scope: + - email + - profile \ No newline at end of file