Skip to content

πŸš€ Real-time Chatting Server built with NestJS & Microservices Architecture. Supports 1:1 & Group Chat, Profile Customization, and Friend Systems.

Notifications You must be signed in to change notification settings

rhkdguskim/chattingServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

158 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Chatting Server

πŸ“ ν”„λ‘œμ νŠΈ κ°œμš”

λ‚˜λ§Œμ˜ μ±„νŒ…, 1:1 μ±„νŒ…, κ·Έλ£Ή μ‹€μ‹œκ°„ μ±„νŒ… κΈ°λŠ₯을 μ œκ³΅ν•˜λŠ” κ³ μ„±λŠ₯ λ°±μ—”λ“œ μ„œλ²„μž…λ‹ˆλ‹€.
μ‚¬μš©μž ν”„λ‘œν•„(μƒλŒ€ λ©”μ‹œμ§€, λ°°κ²½, ν”„λ‘œν•„ ν™”λ©΄) μ»€μŠ€ν„°λ§ˆμ΄μ§•κ³Ό 친ꡬ κΈ°λŠ₯을 ν†΅ν•œ μ‹€μ‹œκ°„ μƒνƒœ 곡유λ₯Ό μ§€μ›ν•©λ‹ˆλ‹€.

  • πŸ“… ν”„λ‘œμ νŠΈ κΈ°κ°„: 2023. 06 ~ 2024. 01
  • πŸ‘€ λ‹΄λ‹Ήμž: κΉ€κ΄‘ν˜„ (@rhkdguskim)
  • πŸ—οΈ μ•„ν‚€ν…μ²˜: Monorepo 기반 Microservices Architecture (MSA) μ§€ν–₯

πŸ› οΈ 기술 μŠ€νƒ 및 ν™˜κ²½ ꡬ성

Core

  • Framework: NestJS (Node.js)
  • Language: TypeScript
  • Communication: WebSocket (Socket.io), gRPC (Internal)

Data & Storage

  • Database: MySQL / MariaDB (TypeORM)
  • Caching: Redis (Performance Optimization & Caching Interceptor)

DevOps & Tools

  • Deployment: Docker, CloudType
  • CI/CD: GitHub Actions
  • API Documentation: Swagger (OpenAPI)
  • Repository: Mono-repo structure

✨ 핡심 κΈ°λŠ₯

πŸ“Ί μ„œλΉ„μŠ€ μ‹œμ—°

Demo 1 Demo 2

πŸ” λ§ˆμ΄ν¬λ‘œμ„œλΉ„μŠ€ 상세

  • πŸ” Auth Service: 인증 및 인가 (JWT, Passport)
  • πŸ‘€ User Service: μœ μ € 관리, ν”„λ‘œν•„ μ»€μŠ€ν„°λ§ˆμ΄μ§•, 친ꡬ μ‹œμŠ€ν…œ
  • πŸ’¬ Chat Service: μ‹€μ‹œκ°„ μ±„νŒ…, μ±„νŒ…λ°© 관리, μ°Έκ°€μž μ œμ–΄

πŸš€ μ‹œμž‘ν•˜κΈ°

μ„€μΉ˜

$ npm install

μ‹€ν–‰

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

ν…ŒμŠ€νŠΈ

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

πŸš€ Real-time Chatting Server built with NestJS & Microservices Architecture. Supports 1:1 & Group Chat, Profile Customization, and Friend Systems.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published