Code Monkey home page Code Monkey logo

minieye-luckyer's Introduction

🥇 年会抽奖系统

🐛 项目选型

  • go

  • gin

  • sqlite

  • gorm

  • jwt-go

🔧 如何使用

  • 拉取项目

    git clone https://git.minieye.tech/yaolongshan/minieye-luckyer.git

  • 下载go依赖

    go mod download

  • 在项目根目录下编辑本地配置文件local_conf.json

  • cp local_conf.json.example local_conf.json

    {
      "Port": 8080, // 端口
      "RootPath": "/Users/yaolongshan/go/src/code/minieye-luckyer", // 项目根目录,最后面不需要带/
      "SMS": { // 阿里云短信相关配置
        "AccessKeyId": "XXXXXXXX",
        "AccessKeySecret": "XXXXXXXXXXX",
        "SignName": "短信签名",
        "TemplateCode": "XXXXXXXXX"
      },
      "DingDing": { // 钉钉消息通知相关配置
        "AppKey": "xxxxxxxxxx",
        "AppSecret": "xxxxxxxxxxxxxxxxxxxxxx"
      }
    }

🐒 运行

go build生成可执行文件,运行后会在项目根目录生成一个数据库文件data.db

🎧 工具

tools/reader.go文件是辅助工具类

在项目根目录下将tools/reader.go编译可执行文件

go build tools/reader.go

使用

./reader -h

minieye-luckyer's People

Contributors

yaolongshan avatar mdgsf avatar

Stargazers

tracydzf avatar

Watchers

 avatar

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.