GithubHelp home page GithubHelp logo

study-together's Introduction

Study Together

프로젝트 소개

함께 모여 공부하는 온라인 독서실 플랫폼입니다.

사용 기술

Spring Boot Java intellij IDEA H2 Database

기능

회원

  • 회원가입
  • 로그인, 로그 아웃

스터디룸

  • 방 생성(생성한 유저가 방장이 됨)
  • 방 입장
  • 방 퇴장(방장이 퇴장 시 다른 유저에게 방장 권한 위임)

ERD

https://www.erdcloud.com/d/SXY85jvx7GipunbrM

기술적 고민

예상 UI (제작중)

study-together's People

Contributors

f-lab-bot avatar f-lab-inno avatar wooni97 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

wooni97

study-together's Issues

Scheduler 생성 API

사용자가 Scheduler을 생성할 때 사용하게 될 API를 설계하고 구현해주세요.

  • scheduler 생성시 해당 스케줄러의 todo까지 같이 요청 받을것인지? API를 분리할것인지 고려
  • 요청과 응답 디자인을 충분히 고려

요청 e.g.)
POST /api/v1/schedulers

{
 ...
}

응답 e.g.)
201 Created

{
 "schedulerId": 1,
 "todos": [1, 2, 3]
}

Room 생성 API

사용자가 Room을 생성할 때 사용하게 될 API를 설계하고 구현해주세요.

  • 요청과 응답 디자인을 충분히 고려

요청 e.g.)
POST /api/v1/rooms

{
 ...
}

응답 e.g.)
201 Created

{
 "roomId": 1
}

Spring profile별 properties 분리하기

우리가 개발하는 프로그램은 각 상황에 따라 접근해야 하는 리소스(DB, 메세지 큐 등)가 달라질 수 있습니다.

이 때 매번 실행할때마다 별도로 코드를 수정해서 하기엔 너무 복잡합니다. 이를 해결하기 위해 어떻게 할 수 있을까요?

다음 블로그 글을 보고 적절하게 profile을 나눠봅시다.

https://velog.io/@choidongkuen/spring-Spring-%EC%84%A4%EC%A0%95-%ED%8C%8C%EC%9D%BC-%EB%82%98%EB%88%84%EA%B8%B0

View 영역을 제외한 클래스 테스트코드 작성

  • 가능하면 Mockito를 사용하지 않기
  • 자체 Dummy, Fake, Stub, Mock 객체 사용해보기, 사용하기 어려운 구조라면 인터페이스를 새로 설계하거나 Mockito를 사용해도 좋습니다.
  • Spring ApplicationContext 등 스프링 통합 관련 설정이 필요한 테스트 또한 @SpringBootTest 등의 통합테스트 어노테이션을 활용하여 테스트 해보기!

애플리케이션 성능테스트

아직 프로젝트 미완성된 부분이 있기에 우선순위는 낮습니다.

내가 개발한 애플리케이션의 최대 요청 임계점은 어떤 정도일지 궁금하다면 어떻게 검증해볼 수 있을까요?

아래 대표적인 성능테스트 도구 사용법과, 사용 사례들을 살펴봅시다

위 성능테스트 도구 사용법 숙지가 되었다면 성능테스트를 통해 다음과 같은 결과들을 도출해봅시다.

  • 임계점 도달 피크 수준 요청량 찾기
  • 병목 지점 찾기
  • 애플리케이션의 CPU, 메모리 HotSpot찾기
  • 적정 스레드 수 찾기
    • Tomcat Thraed Pool
    • Hikari DBCP
    • 그 외

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.