Git Product home page Git Product logo

42gg.4nd's Introduction

42gg.4nd

42gg 4기 온보딩

1단계


개발 환경 세팅

CRUD 구현

  • @RestController 를 이용한 CRUD 간단하게 구현해보기

2단계


Jpa 연관관계 매핑

  • KeyWords
    • @Embedded, @Embeddable
    • @Inheritance
      • JOINED
      • SINGLE_TABLE
      • TABLE_PER_CLASS
    • 영속성 컨텍스트, 연관관계 주인
    • @ManyToOne, @OneToMany
    • @OneToOne
  • Entity

스크린샷 2023-06-26 오후 5.09.36.png

  • Table

스크린샷 2023-06-26 오후 5.09.59.png

  • 참고자료 김영한 자바 ORM 표준 JPA 프로그래밍 - 기본편

3단계


Redis

  • redis 자료구조 공부 (string, hash, zset 등) → redis docs에 잘 나와있음

  • RedisTemplate 을 이용해서 redis hash, string, zset 자료구조에 접근하는 간단한 curd 로직 만들어보기

  • Redis 명령어를 redis-cli나 java spring에서 어떻게 쓰는지 바로 찾고 싶으면 chat gpt 이용해보기. 대부분의 상황에서는 잘 적용된다. 안되면 Redis 공식문서나 구글링하기.

  • 참고자료

    • [우아한테크 세미나] 191121 우아한 레디스 by 강대명님

    [우아한테크세미나] 191121 우아한레디스 by 강대명님

    • redis docs

    https://redis.io/docs/data-types/

Spring Security를 이용한 로그인 구현

4단계


Scheduler 사용해보기

  • org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler 를 이용해서 매 분마다 log를 출력하는 프로그램 만들어보기

로그백 파일 확인

  • 최대 30일 로그 기록, 각각 최대 용량 400(all), 500(myLog), 100(error)MB

    logs
       all.log //당일 전체로그 기록
    	 error.log // 당일 에러로그 기록
    	 myLog.log // 당일 사용자커스텀로그(함수 호출,종료 순서대로 기록) 기록
    	 allLogDays
    		  //일자별 전체로그 기록
       errorLogDays
    		  //일자별 에러로그 기록
       myLogDays
    		  //일자별 사용자커스텀로그(함수 호출,종료 순서대로 기록) 기록
  • 로그백 파일을 확인을 통한 현재 로그 출력 방식 이해하기

  • 참고자료

    [Spring] 스프링 부트에서 로그(Log) 사용하기 - Logback (Sync, AsyncAppender)

  • 추가자료

spring-guide/docs/exception-guide.md at master · cheese10yun/spring-guide

42gg.4nd's People

Contributors

fefe2200 avatar kmularise avatar 8luerose avatar

Watchers

moonhyeok song avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.