Code Monkey home page Code Monkey logo

smilegate-winterdevcamp-plop's Introduction

스마일게이트 윈터데브캠프 2023 - Plop

MSA기반 채팅 애플리케이션

맡은 파트(BE) : 서비스 디스커버리, 게이트웨이, 인증 서버, 유저 서버, 푸시 서버

현재 페이지는 이제호가 맡은 파트를 중심으로 기록하였습니다.

목차

1. 목표
2. 주요 기능
3. 사용 기술
4. 아키텍처
5. DB 스키마
6. 상세 기능
7. 서버별 주요 코드
8. 개인 성장
9. Docs

목표

스크린샷 2023-04-09 오전 1 30 07


주요 기능

스크린샷 2023-04-09 오전 1 29 29


짧은 시연 영상 (유튜브 링크, 1분 56초)


사용 기술

  • 백엔드 : Spring Boot, Spring Cloud(Eureka, Gateway)
  • 데이터베이스 : MySQL
  • 캐시 : Redis
  • 배포 : Docker, AWS EC2, AWS RDS, AWS S3
  • 푸시 알림 : FCM

아키텍처

상세 아키텍처 배포 아키텍처
스크린샷 2023-04-09 오전 1 36 21 스크린샷 2023-04-09 오전 1 35 53

DB 스키마

image

상세 기능

유저 & 인증 푸시 알림

서버별 주요 코드


배포

서비스 URL 포트 풀
전체(Gateway) http://${AWS-public-IP} :8000
인증 http://${AWS-public-IP} :8011~8019
유저 http://${AWS-public-IP} :8021~8029
채팅 http://${AWS-public-IP} :8031~8039
푸시 http://${AWS-public-IP} :8041~8049
Scale-out 가능하도록 포트 풀을 지정하였음.

개인 성장

JWT 토큰 기반 인증

  • Access/Refresh 토큰 기반 로그인
  • Jwt 토큰 발급 / 만료

GlobalExceptionHandler & ErrorCode

  • 예외 처리 및 응답 구현

이메일 - SMTP

  • 이메일 인증 구현, 랜덤 코드 발급 구현

Redis, FCM

  • 캐시, TTL(Time-To-Live, 랜덤 코드에 적용)
  • 푸시 알림 기능 활용

Docker, AWS

  • 배포, 컨테이너 경험

Docs

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.