package com.devjob.user;

import com.devjob.common.exception.GlobalExceptionHandler;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;

/**
 * EP06: 시즌1 모놀리스에서 회원/인증 도메인을 분리한 첫 서비스.
 * Member, Role, 인증/JWT, MemberRepository, AuthService/MemberService,
 * AuthController/MemberController를 그대로 옮겨왔다.
 */
@SpringBootApplication
@EnableJpaAuditing
@Import(GlobalExceptionHandler.class)
public class UserServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserServiceApplication.class, args);
    }
}
