Giter Site home page Giter Site logo

rwr-profile-server's Introduction

RWR GFL 存档管理服务

license latest release Maintainability Rating Docker Image Size rwr_version

开发

该项目提供了前端界面, 可用前端界面来进行开发调试: https://github.com/Kreedzt/rwr-profile-web

该项目采用 Rust 语言编写,需要 Rust 开发环境

启动开发环境的命令:

cargo run

会绑定在 8080 端口工作

构建

该项目采用 Rust 语言编写,需要 Rust 开发环境

编译需执行以下命令:

cargo build --release

编译后在根目录的 target/release 内生成二进制文件(exe),该文件可用终端直接运行。

编译后可用 upx 二次缩小体积,通常缩小到 800k 左右

upx --best --lzma target/release/rwr-profile-server

特性

  • 用户接口(user)
    • 提供基本的注册与登录
  • 玩家数据接口(person)
    • 查询单条玩家信息
    • 更新单条玩家信息
    • 查询所有玩家信息
    • 经验重置到 5 星
    • 经验重置到指定值
    • 更新背包
    • 更新仓库
    • 更新改造
    • 为所有玩家背包插入指定物品
    • 为选定玩家背包插入指定物品
    • 为所有玩家更改兵种
    • 为指定玩家更改兵种
    • 为所有玩家移除物品
    • 为指定玩家移除物品
    • 下载存档
    • 上传存档
  • 玩家记录信息接口(profile)
    • 下载存档
    • 上传存档
    • 查询所有信息缓存

部署

部署文档

其他项目

协议

rwr-profile-server's People

Contributors

kreedzt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

csolyoo

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.