프로그래밍 언어 및 기타
쿠버네티스 입문 책 읽고 생각 정리
Part1 쿠버네티스 시작하기1. 쿠버네티스 소개1.3 쿠버네티스1.3.1.2 기본 사용법kubectl run echoserver --image="k8s.gcr.io/echoserver:1.10" --port=8080후kubectl expose po echoserver --type=NodePort 하는걸 보면, 서버를 만드는 것 따로, 여기에 접근하게 하는 서비스 따로 하나 보다.(라고 생각했지만, 내부와 격리된 컨테이너에 접속 가능하게 expose를 해서 그랬던 것) 1.3.2 디플로이먼트를 이용해 컨테이너 실행하기실행 방법이 크게 2가지인데, kubectl run 명령은 직접 컨테이너를 실행하는거고 다른 하나는 yaml 형식으로 저장된 걸 실행하는 거라고 한 거 보면 딱 봐도 yaml이 정형화 시킬 ..
elastic beanstalk의 기본 nginx 설정들
빡쳐서 임시로 만들어 ec2 접속 후 들여다봤다. nginx.conf #Elastic Beanstalk Nginx Configuration File user nginx; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; worker_processes auto; worker_rlimit_nofile 200000; events { worker_connections 1024; } http { server_tokens off; include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_lo..
[게시판 서버] spring boot 원격 서버에 올려서 배포하기
https://isolia.shop/ Isolia isolia.shop (언제까지 열어놓을지는 모르겠지만..) https://github.com/sglee487/isolia/tree/fa5f2bdd7aecf67516dfe14ac61b02e274b602e0 GitHub - sglee487/isolia: https://isolia.shop/ https://isolia.shop/. Contribute to sglee487/isolia development by creating an account on GitHub. github.com https://github.com/sglee487/isolia-spring-api/tree/8827fab436508a33d8684cedcb4b84feef397646 GitHub ..
[게시판 서버] 구글 SNS 로그인 구현하기
https://github.com/sglee487/isolia-spring-api/tree/e83aa6a850de8f3770f2c9a78b17c9fa673c592e GitHub - sglee487/isolia-spring-api: change FastAPI to Spring boot change FastAPI to Spring boot. Contribute to sglee487/isolia-spring-api development by creating an account on GitHub. github.com https://github.com/sglee487/isolia/tree/8ce6773e88879d83910a3b3d4253579ea3e00c72 GitHub - sglee487/isolia: htt..
[소켓 서버] 소켓 연습용 지뢰찾기 게임 멀티 만들기
https://github.com/sglee487/isolia/blob/f3ed6eef3c61d689322dbd2173f698a4266d2be5/src/mores/MineSweeper.vue GitHub - sglee487/isolia: https://isolia.shop/ https://isolia.shop/. Contribute to sglee487/isolia development by creating an account on GitHub. github.com https://github.com/sglee487/isolia-spring-api/blob/e1048f811a0c76723b19a21dc22b95aa522d075a/src/main/kotlin/com/group/isolia_api/contro..
[게시판 서버] 사이트랑 연결하기
https://github.com/sglee487/isolia-spring-api/tree/7b7b13404ea4460dad310c381d8f600bbecf7e3a GitHub - sglee487/isolia-spring-api: change FastAPI to Spring boot change FastAPI to Spring boot. Contribute to sglee487/isolia-spring-api development by creating an account on GitHub. github.com https://github.com/sglee487/isolia/tree/449a1389312198a65b29454dbcf2693b2e97f309 GitHub - sglee487/isolia: htt..
[게시판 서버] Querydsl으로 변환(별거없음)
https://github.com/sglee487/isolia-spring-api/tree/c8cef15bed5b12a2ab28e1549d4b0d3f4455a455 GitHub - sglee487/isolia-spring-api: change FastAPI to Spring boot change FastAPI to Spring boot. Contribute to sglee487/isolia-spring-api development by creating an account on GitHub. github.com 해야할 필요성은 딱 두가지다. JpaRepository를 통해 해당 정보르 다 불러와도 Response 형태에 맞추기 위해 어차피 쳐내는 정보로 성능 손실이 있다는 것, 즉 내가 예전에 FastAP..
[게시판 서버] 기본 게시판 기능 및 jwt
https://github.com/sglee487/isolia-spring-api/tree/179da382bbc0f72b721e2a3a2570c0c69ab12b52 GitHub - sglee487/isolia-spring-api: change FastAPI to Spring boot change FastAPI to Spring boot. Contribute to sglee487/isolia-spring-api development by creating an account on GitHub. github.com 한 가지 문제가 있는데, 게시판을 작성하려면 로그인을 해야되고, 로그인을 기억해야 한다. 난 jwt를 사용했다. 그래서 jwt관련 코드 먼저 작성하려 했던 것 같다. 회원가입이나 로그인할 때 jwt..
[게시판 서버] 기본 유저 기능
https://github.com/sglee487/isolia-spring-api/tree/a361bbd46efc06231fce326236405b9300784743 GitHub - sglee487/isolia-spring-api: change FastAPI to Spring boot change FastAPI to Spring boot. Contribute to sglee487/isolia-spring-api development by creating an account on GitHub. github.com 일단 프로젝트 구조는 https://www.inflearn.com/course/java-to-kotlin-2/dashboard 실전! 코틀린과 스프링 부트로 도서관리 애플리케이션 개발하기 (Java..
[게시판 서버] 기존 서버 구조 파악하기
https://github.com/sglee487/isolia_api GitHub - sglee487/isolia_api Contribute to sglee487/isolia_api development by creating an account on GitHub. github.com FastAPI로 만든 기존 서버를 Spring boot로 변환하는 작업이기에, 일단 기존 서버의 구조부터 파악해야 했다. 뭐가 있는가? jwt를 통한 자동로그인 구현용 /token/(은 귀찮아서 구현 안할거임), 기본적인 유저 회원가입, 로그인, 업데이트를 위한 /user/, 게시물 작성, 불러오기를 위한 /board/, 댓글 달기를 위한 /comment/ 로 4개가 있다(ws_router는 지뢰찾기를 위한 web socke..