GithubHelp home page GithubHelp logo

cloud-disk's Introduction

cloud-disk 网盘

轻量级云盘系统,基于 go-zero、xorm、go-redis实现

涉及模块:

用户模块:

  • 密码登陆 done
  • 邮箱注册 done
  • 用户详情 done

存储池模块:

  • 中心存储池资源管理 done
  • 文件上传 done
  • 个人存储池资源管理 done
  • 文件关联存储 done
  • 文件列表 done
  • 文件名修改 done
  • 文件夹创建 done
  • 文件删除 done
  • 文件移动 done
  • 文件分片上传 done

文件共享模块:

  • 创建分享记录 done
  • 获取分享记录详情 done

使用到的库以及安装命令:

// go-zero 库
go get -u github.com/zeromicro/go-zero 

// xorm 库
go get xorm.io/xorm 
go get github.com/go-sql-driver/mysql  

// goctl 工具包
go install github.com/zeromicro/go-zero/tools/goctl@latest
goctl api new core
 
// email 库 
go get github.com/jordan-wright/email

// redis 库
go get github.com/go-redis/redis/v8

// uuid 库
go get github.com/satori/go.uuid

// 腾讯云 COS SDK 包
go get -u github.com/tencentyun/cos-go-sdk-v5

cd core
// 使用工具生成相关路由的 handler 跟 logic 代码
goctl api go -api core.api -dir . -style go_zero
// 运行项目
go run core.go -f etc/core-api.yaml

cloud-disk's People

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.