diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..b0b5f5f7 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,14 @@ +## 📣 Related Issue + +- close # + +## 📝 Summary + + + +## 🙏 Question & PR point + + + +## 📬 Postman + \ No newline at end of file diff --git a/src/main/java/com/pickple/server/api/.gitkeep b/src/main/java/com/pickple/server/api/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/main/java/com/pickple/server/global/auth/jwt/.gitkeep b/src/main/java/com/pickple/server/global/auth/jwt/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/main/java/com/pickple/server/global/auth/redis/.gitkeep b/src/main/java/com/pickple/server/global/auth/redis/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/main/java/com/pickple/server/global/auth/security/.gitkeep b/src/main/java/com/pickple/server/global/auth/security/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/main/java/com/pickple/server/global/common/dto/.gitkeep b/src/main/java/com/pickple/server/global/common/dto/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/main/java/com/pickple/server/global/common/external/.gitkeep b/src/main/java/com/pickple/server/global/common/external/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/main/java/com/pickple/server/global/config/WebConfig.java b/src/main/java/com/pickple/server/global/config/WebConfig.java new file mode 100644 index 00000000..518bd93b --- /dev/null +++ b/src/main/java/com/pickple/server/global/config/WebConfig.java @@ -0,0 +1,17 @@ +package com.pickple.server.global.config; + +import org.springframework.context.annotation.Configuration; +import org.springframework.web.servlet.config.annotation.CorsRegistry; +import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; + +@Configuration +public class WebConfig implements WebMvcConfigurer { + @Override + public void addCorsMappings(CorsRegistry registry) { + registry.addMapping("/**") + .allowedOrigins("*") + .allowedMethods("GET", "POST", "PUT", "DELETE") + .allowCredentials(true) + .maxAge(3000); + } +} diff --git a/src/main/java/com/pickple/server/global/exception/GlobalExceptionHandler.java b/src/main/java/com/pickple/server/global/exception/GlobalExceptionHandler.java new file mode 100644 index 00000000..41fd6d19 --- /dev/null +++ b/src/main/java/com/pickple/server/global/exception/GlobalExceptionHandler.java @@ -0,0 +1,4 @@ +package com.pickple.server.global.exception; + +public class GlobalExceptionHandler { +} diff --git a/src/main/java/com/pickple/server/global/exception/enums/.gitkeep b/src/main/java/com/pickple/server/global/exception/enums/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/src/main/java/com/pickple/server/global/util/.gitkeep b/src/main/java/com/pickple/server/global/util/.gitkeep new file mode 100644 index 00000000..e69de29b