Giter Club home page Giter Club logo

share-anything's Introduction

share-anything

Spring + React 이용 프로젝트

현재 구현 기능

  • 게시판 기능의 정보 공유 플랫폼
  • 각 유저는 다른 유저를 팔로우 하여 작성한 글을 볼 수 있다.
  • 유저는 게시글을 작성 할 수 있다.
  • 게시글별 카테고리를 나눌 수 있다.
  • 각 게시글에는 좋아요와 댓글을 달 수 있다.
  • 채팅방 기능을 제공하여 다른 사용자들과 자유롭게 채팅 할 수 있다.
  • 구독한 채팅방의 내용을 불러올 수 있다.

사용한 기술

  • Spring boot 3.0.2(java 17)
  • Jpa
  • mariaDB
  • Stomp
  • SpringSecurity(jwt)
  • React(TypeScript)
  • Swagger

프로젝트의 기능

ERD 다이어 그램

image

관련 문제

[Query Dsl]JPA N+1 문제
[Stomp]구독한 채팅방에 기존 채팅글 불러오는 기능 문제
[Stomp]소켓통신시에 JWT 토큰 처리 방법
예외처리
테스트, 서버 데이터 베이스 분리
Cors Origin 문제

image image

share-anything's People

Contributors

juhee77 avatar

Stargazers

 avatar

Watchers

 avatar

share-anything's Issues

리드미 수정

  • 스프링 시큐리티 뷰화면 열기
  • 리엑트 빌드,이미지 경로세팅
  • 빌드시 리엑트 빌드함께 실행되도록 수정

jwt 토큰 연장

jwt 토큰 연장 ( 리프레시 토큰 사용, RTR 방법 확인)

  1. 프론트 엔드에서 현재 엑세스 토큰이 만료되었다면 리프레시 토큰과 엑세스 토큰을 함께 보내서 재발급 받도록 한다.
  2. 백엔드 에서 reissue 과정을 처리
  3. 리프레시 토큰을 받아와서 유효하다면 엑세스 토큰을 재발급, 리프레시 토큰도 재발급 (RTR)

로그아웃시에 refresh token 삭제

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.