Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

HoshinoTented/PaintBoardServer

Repository files navigation

PaintBoardServer

绘板服务端

Have a try

APIs

接口 方法及参数 详细内容
/paintBoard/board GET 获取绘板内容
/paintBoard/paint POST(x: Int, y: Int, color: Int) 进行绘画
/paintBoard/ws WebSocket 监听绘板变化的 WebSocket
/paintBoard/save POST(password: String, path: String) 保存绘板到数据库
/paintBoard/load POST(password: String, path: String) 从数据库加载绘板(不会发送 WebSocket 信息)

How to RUN it

正确配置 JDK 后,在项目根目录运行:

./gradlew run

会在 localhost:8080 开启一个服务端。

About

A Server Side of PaintBoard

Resources

Stars

Watchers

Forks

Packages

No packages published