Spring Security (Basic Authentification) + React Login
JWT를 이용한 로그인 예제는 다음 레포지토리 참고 Spring Security (JWT Authentification) + React Login
https://dzone.com/articles/integrating-spring-boot-and-react-with-spring-secu-1
Visual Studio Code 실행 기준
ServletInitializer.java 로 이동 후, F5 버튼 누르기
cd frontend
npm install
npm start
- http://localhost:3000 이동
- 아이디(hch0821), 비밀번호(1234)를 입력하면 접근 가능한 페이지로 이동됨