Skip to content

Latest commit

 

History

History
121 lines (95 loc) · 4.86 KB

README.md

File metadata and controls

121 lines (95 loc) · 4.86 KB

playground-chat-server

Intro & Motivation

This service is simple chatting server using websocket protocol. The reason why I develop this service is to learn websocket concept.

Tech

Server

Kotlin, Spring(MVC, Websocket, Redis, Security, Freemarker), JJWT ..

Front

Vue

If you want to know more information about my project's tech referencing gradle file

Architecture

architecture

Feature

HTTP

  • /chat/rooms : Get all chat-room information
  • /chat/room/{roomId} : Get specified chat-room information
  • /chat/room?name="chatRoomName : create new chat-room
  • /chat/user : get current user info

STOMP(Websocket)

  • /ws-stomp : connect stomp
  • /sub/chat/room/{roomId} : subscribe roomId topic
  • /pub/chat/message : publish message to specific topic (message include topic information)

Get Start (local environment)

# clone project and move to project folder
git clone https://github.com/hyuk0309/playground-chat-server.git
cd ./playground-chat-server/

# build and execute project
./gradlew clean build
cd ./build.libs
java -jar playground-chat-server-0.0.1-SNAPSHOT.jar

What I Learn

Learned Concept

Issue

Reference