diff --git a/README.md b/README.md index e854407c..9b9bb24b 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ ## Introduction -**🟥 Iced-Latte (Backend)** is a non-profit sandbox project where a team of IT enthusiasts are working on creating a modern marketplace (https://iced-latte.uk/) for selling coffee in order to pump up their soft and hard skills and have fun working on an interesting project. +**🟥 Iced-Latte (Backend)** is a non-profit sandbox project where a team of IT enthusiasts are working on creating a modern marketplace (http://il.pride.improwised.local/) for selling coffee in order to pump up their soft and hard skills and have fun working on an interesting project. 🟥 It's crucial to note that we operate without financial support from any party, and we don't compensate anyone financially either. Our efforts are fuelled solely by passion and dedication. @@ -107,7 +107,7 @@ The main point of interaction is the [Issues page](https://github.com/Sunagatov/ The bussiness docs are here [Docs](https://drive.google.com/drive/folders/1vvfXy6n4cz01JjNyTgoYG0g6EIRvyHDw?usp=share_link). -Swagger REST APIs contracts described [here](https://iced-latte.uk/backend/api/docs/swagger-ui/index.html). +Swagger REST APIs contracts described [here](http://il.pride.improwised.local/backend/api/docs/swagger-ui/index.html). ### 😎 I want to write some code diff --git a/src/main/java/com/zufar/icedlatte/auth/api/AuthorizationServerUrlCreator.java b/src/main/java/com/zufar/icedlatte/auth/api/AuthorizationServerUrlCreator.java index f8341a31..5c205f6f 100644 --- a/src/main/java/com/zufar/icedlatte/auth/api/AuthorizationServerUrlCreator.java +++ b/src/main/java/com/zufar/icedlatte/auth/api/AuthorizationServerUrlCreator.java @@ -22,7 +22,7 @@ public String create() { "include_granted_scopes=true&" + "response_type=code&" + "state=state_parameter_passthrough_value&" + - "redirect_uri=https://iced-latte.uk/backend/api/v1/auth/google/callback&" + + "redirect_uri=http://il.pride.improwised.local/backend/api/v1/auth/google/callback&" + "client_id=" + clientId; } } diff --git a/src/main/java/com/zufar/icedlatte/auth/api/GoogleIdTokenCreator.java b/src/main/java/com/zufar/icedlatte/auth/api/GoogleIdTokenCreator.java index bd32db77..d5b1f6fb 100644 --- a/src/main/java/com/zufar/icedlatte/auth/api/GoogleIdTokenCreator.java +++ b/src/main/java/com/zufar/icedlatte/auth/api/GoogleIdTokenCreator.java @@ -41,7 +41,7 @@ public GoogleIdToken createGoogleIdToken(final String authorizationCode) throws private TokenResponse getTokenResponse(String authorizationCode) throws IOException, GeneralSecurityException { return createGoogleAuthorizationCodeFlow().newTokenRequest(authorizationCode) - .setRedirectUri("https://iced-latte.uk/backend/api/v1/auth/google/callback") + .setRedirectUri("http://il.pride.improwised.local/backend/api/v1/auth/google/callback") .execute(); } diff --git a/src/main/resources/api-specs/cart-openapi.yaml b/src/main/resources/api-specs/cart-openapi.yaml index e0a18a8b..c1fa4677 100644 --- a/src/main/resources/api-specs/cart-openapi.yaml +++ b/src/main/resources/api-specs/cart-openapi.yaml @@ -11,7 +11,7 @@ info: servers: - url: "http://localhost:8083" description: "Local development server" - - url: "https://iced-latte.uk/backend" + - url: "http://il.pride.improwised.local/backend" description: "Production server" tags: @@ -222,4 +222,4 @@ components: type: "string" format: "uuid" required: - - shoppingCartItemIds \ No newline at end of file + - shoppingCartItemIds diff --git a/src/main/resources/api-specs/favorite-openapi.yaml b/src/main/resources/api-specs/favorite-openapi.yaml index 8f8e5c28..39040091 100644 --- a/src/main/resources/api-specs/favorite-openapi.yaml +++ b/src/main/resources/api-specs/favorite-openapi.yaml @@ -11,7 +11,7 @@ info: servers: - url: "http://localhost:8083" description: "Local development server" - - url: "https://iced-latte.uk/backend" + - url: "http://il.pride.improwised.local/backend" description: "Production server" tags: @@ -113,4 +113,4 @@ components: items: $ref: "product-openapi.yaml#/components/schemas/ProductInfoDto" required: - - productsDto \ No newline at end of file + - productsDto diff --git a/src/main/resources/api-specs/order-openapi.yaml b/src/main/resources/api-specs/order-openapi.yaml index 63943a09..78e4bec4 100644 --- a/src/main/resources/api-specs/order-openapi.yaml +++ b/src/main/resources/api-specs/order-openapi.yaml @@ -11,7 +11,7 @@ info: servers: - url: "http://localhost:8083" description: "Local development server" - - url: "https://iced-latte.uk/backend" + - url: "http://il.pride.improwised.local/backend" description: "Production server" tags: diff --git a/src/main/resources/api-specs/payment-openapi.yaml b/src/main/resources/api-specs/payment-openapi.yaml index 39ece017..840ba503 100644 --- a/src/main/resources/api-specs/payment-openapi.yaml +++ b/src/main/resources/api-specs/payment-openapi.yaml @@ -11,7 +11,7 @@ info: servers: - url: "http://localhost:8083" description: "Local development server" - - url: "https://iced-latte.uk/backend" + - url: "http://il.pride.improwised.local/backend" description: "Production server" tags: diff --git a/src/main/resources/api-specs/product-openapi.yaml b/src/main/resources/api-specs/product-openapi.yaml index ec0198b1..d9547335 100644 --- a/src/main/resources/api-specs/product-openapi.yaml +++ b/src/main/resources/api-specs/product-openapi.yaml @@ -11,7 +11,7 @@ info: servers: - url: "http://localhost:8083" description: "Local development server" - - url: "https://iced-latte.uk/backend" + - url: "http://il.pride.improwised.local/backend" description: "Production server" tags: @@ -404,4 +404,4 @@ components: brands: type: "array" items: - type: "string" \ No newline at end of file + type: "string" diff --git a/src/main/resources/api-specs/product-review-openapi.yaml b/src/main/resources/api-specs/product-review-openapi.yaml index 2eb0b69d..8ee2664d 100644 --- a/src/main/resources/api-specs/product-review-openapi.yaml +++ b/src/main/resources/api-specs/product-review-openapi.yaml @@ -11,7 +11,7 @@ info: servers: - url: "http://localhost:8083" description: "Local development server" - - url: "https://iced-latte.uk/backend" + - url: "http://il.pride.improwised.local/backend" description: "Production server" tags: @@ -410,4 +410,4 @@ components: isLike: type: "boolean" required: - - isLike \ No newline at end of file + - isLike diff --git a/src/main/resources/api-specs/security-openapi.yaml b/src/main/resources/api-specs/security-openapi.yaml index d4e16b63..8934e806 100644 --- a/src/main/resources/api-specs/security-openapi.yaml +++ b/src/main/resources/api-specs/security-openapi.yaml @@ -11,7 +11,7 @@ info: servers: - url: "http://localhost:8083" description: "Local development server" - - url: "https://iced-latte.uk/backend" + - url: "http://il.pride.improwised.local/backend" description: "Production server" tags: @@ -226,4 +226,4 @@ components: code: type: "string" password: - type: "string" \ No newline at end of file + type: "string" diff --git a/src/main/resources/api-specs/user-openapi.yaml b/src/main/resources/api-specs/user-openapi.yaml index 06a87b98..33039230 100644 --- a/src/main/resources/api-specs/user-openapi.yaml +++ b/src/main/resources/api-specs/user-openapi.yaml @@ -11,7 +11,7 @@ info: servers: - url: "http://localhost:8083" description: "Local development server" - - url: "https://iced-latte.uk/backend" + - url: "http://il.pride.improwised.local/backend" description: "Production server" tags: