Skip to content

Commit

Permalink
✨ created all the necessary empty files for social login
Browse files Browse the repository at this point in the history
  • Loading branch information
jafacode committed Jan 2, 2025
1 parent ba0e152 commit d074ece
Show file tree
Hide file tree
Showing 76 changed files with 146 additions and 97 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.article.controller

class Article {
}
class Article
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.article.controller

class ArticleController {
}
class ArticleController
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.article.persistence

class ArticleEntity {
}
class ArticleEntity
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.article.persistence

class ArticleLikesEntity {
}
class ArticleLikesEntity
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.article.persistence

class ArticleLikesRepository {
}
class ArticleLikesRepository
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.article.persistence

class ArticleRepository {
}
class ArticleRepository
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.article.service

class ArticleService {
}
class ArticleService
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.auction.controller

class Auction {
}
class Auction
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.auction.controller

class AuctionController {
}
class AuctionController
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.auction.persistence

class AuctionEntity {
}
class AuctionEntity
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.auction.persistence

class AuctionRepository {
}
class AuctionRepository
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.auction.service

class AuctionService {
}
class AuctionService
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.chatroom.controller

class Chatroom {
}
class Chatroom
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.chatroom.controller

class ChatroomController {
}
class ChatroomController
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.chatroom.persistence

class ChatEntity {
}
class ChatEntity
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.chatroom.persistence

class ChatRepository {
}
class ChatRepository
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.chatroom.persistence

class ChatroomEntity {
}
class ChatroomEntity
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.chatroom.persistence

class ChatroomRepository {
}
class ChatroomRepository
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.chatroom.service

class ChatroomService {
}
class ChatroomService
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.comment.controller

class Comment {
}
class Comment
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.comment.controller

class CommentController {
}
class CommentController
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.comment.persistence

class CommentEntity {
}
class CommentEntity
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.comment.persistence

class CommentLikesEntity {
}
class CommentLikesEntity
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.comment.persistence

class CommentLikesRepository {
}
class CommentLikesRepository
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.comment.persistence

class CommentRepository {
}
class CommentRepository
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.feed.controller

class Feed {
}
class Feed
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.feed.controller

class FeedController {
}
class FeedController
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.feed.persistence

class FeedEntity {
}
class FeedEntity
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.feed.persistence

class FeedRepository {
}
class FeedRepository
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.feed.service

class FeedService {
}
class FeedService
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.image.controller

class Image {
}
class Image
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.image.controller

class ImageController {
}
class ImageController
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.image.persistence

class ImageEntity {
}
class ImageEntity
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.image.persistence

class ImageRepository {
}
class ImageRepository
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.image.service

class ImageService {
}
class ImageService
4 changes: 0 additions & 4 deletions src/main/kotlin/com/toyProject7/karrot/user/AuthUser.kt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.user

class UserAccessTokenUtil {
}
class UserAccessTokenUtil
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.user

class UserArgumentResolver {
}
class UserArgumentResolver
3 changes: 1 addition & 2 deletions src/main/kotlin/com/toyProject7/karrot/user/UserException.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.user

class UserException {
}
class UserException
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ data class User(
)
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
package com.toyProject7.karrot.user.controller

import com.toyProject7.karrot.user.service.UserService
import org.springframework.http.ResponseEntity
import org.springframework.web.bind.annotation.PostMapping
import org.springframework.web.bind.annotation.RequestBody
import org.springframework.web.bind.annotation.RestController


@RestController
class UserController (
//private val userService: UserService,
) {

}
class UserController(
// private val userService: UserService,
)

data class SignUpRequest(
val userId: String,
Expand All @@ -21,6 +14,5 @@ data class SignUpRequest(
)

data class SignUpResponse(
val user: User
val user: User,
)
>>>>>>> origin/main
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package com.toyProject7.karrot.user.persistence

import jakarta.persistence.*
import jakarta.persistence.Column
import jakarta.persistence.Entity
import jakarta.persistence.GeneratedValue
import jakarta.persistence.GenerationType
import org.springframework.data.annotation.Id

@Entity(name = "users")
class UserEntity(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ interface UserRepository : JpaRepository<UserEntity, String> {
fun findByUserId(userId: String): UserEntity?

fun existsByUserId(userId: String): Boolean
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package com.toyProject7.karrot.user.service

class UserService {
}
class UserService
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.toyProject7.karrot.userSL

class UserSLException
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.toyProject7.karrot.userSL.common

class ApiResponse
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.toyProject7.karrot.userSL.common

class ApiResponseHeader
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.toyProject7.karrot.userSL.config.properties

class AppProperties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.toyProject7.karrot.userSL.config.properties

class CorsProperties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.toyProject7.karrot.userSL.config.security

class JwtConfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.toyProject7.karrot.userSL.config.security

class SecurityConfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.toyProject7.karrot.userSL.controller.auth

class AuthController
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.toyProject7.karrot.userSL.controller.user

class UserController
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.toyProject7.karrot.userSL.handler

class OAuth2AuthenticationFailureHandler
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.toyProject7.karrot.userSL.handler

class OAuth2AuthenticationSuccessHandler
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.toyProject7.karrot.userSL.handler

class TokenAccessDeniedHandler
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.toyProject7.karrot.userSL.info

class OAuth2UserInfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.toyProject7.karrot.userSL.info

class OAuth2UserInfoFactory
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.toyProject7.karrot.userSL.info.impl

class GoogleOAuth2UserInfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package com.toyProject7.karrot.userSL.info.impl

class KakaoOAuth2UserInfo
Loading

0 comments on commit d074ece

Please sign in to comment.