Giter Site home page Giter Site logo

sirius2alpha / scoreboard Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 2.0 12.88 MB

使用Redis在服务器上对用户的点击数排序,并返回排行榜

License: MIT License

Go 56.08% JavaScript 17.56% HTML 1.45% Vue 16.25% CSS 1.16% Shell 4.13% Makefile 3.37%

scoreboard's Introduction

scoreboard

项目部署在:http://redisboard.sirius1y.top/

项目简介请见wiki页面: 项目简介

对于项目更详细的介绍,移步:sirius1y.me

使用Redis在服务器上对用户的点击数排序,并返回点击次数排行榜。 网站首页

排行榜

运行方式

确保redis正常运行

# 检查 Redis 是否正在运行
if ! pgrep -x "redis-server" > /dev/null
then
    # 如果 Redis 没有运行,就启动它
    redis-server &
fi
make build # 构建项目
make run # 运行项目

scoreboard's People

Contributors

invalidcodes avatar sirius2alpha avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

scoreboard's Issues

新增手机端UI,可以尝试Flutter

  • 手机在点击按钮的时候。会触发双击浏览器双击放大的功能,影响体验
  • 手机端的网页有时候滑动不了
  • 有时候手机端最上面的两个按钮会被浏览器的头部遮挡,但是又滑动不上去

确保昵称唯一被用户持有

现在在网站上输入相同的昵称都同样会进入到页面,相当于是多个用户可以同时使用一个昵称,感觉很怪。

建议修改为只能被一个用户占有,其他用户再输入相同的昵称时无法进入。

新增Swag文档

把仅有的一点点接口文档使用swag注释,使其自动生成文档

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.