项目作者: bugulink

项目描述 :
BuguLink backend project (Koa2 + MySQL + Redis).
高级语言: JavaScript
项目地址: git://github.com/bugulink/bugu-web.git
创建时间: 2018-01-18T01:37:43Z
项目社区:https://github.com/bugulink/bugu-web

开源协议:

下载


BuguLink

BuguLink is a secure file-sharing website. It is an MIT-licensed open source project. The project contains two parts: backend (Node.js + Koa2 + MySQL + Redis) and frontend (React + Yax + ReactRouter). It use Qiniu CDN to storage files.

Features

  • Fast: Upload in chunks, Resume breakpoint, Support large file upload, Upload 1GB file only in 4 minutes
  • Simple: Minimalist UI, Easy to use, Easy to develop, Easy to deploy
  • Secure: Login with dynamic token, Share link with random code, Auto delete and stop share anytime
  • Configurable: Config with environment variables

Develop

  1. Install MySQL and Sign up Qiniu Account.
  2. Config environment variables (More config).

    1. # Database Config
    2. export BUGU_DB_NAME="Your database name"
    3. export BUGU_DB_USER="Your database username"
    4. export BUGU_DB_PASS="Your database password"
    5. export BUGU_DB_HOST="127.0.0.1"
    6. export BUGU_DB_PORT=3306
    7. # Qiniu CDN Config
    8. export BUGU_QN_NAME="Your Qiniu bucket name"
    9. export BUGU_QN_AK="Your Qiniu access key"
    10. export BUGU_QN_SK="Your Qiniu secret key"
    11. export BUGU_QN_DOMAIN="Your Qiniu bucket domain"
  3. Clone source from Github.

    1. git clone https://github.com/bugulink/bugu-web.git
    2. git clone https://github.com/bugulink/bugu-static.git
  4. Backend develop.

    1. cd bugu-web
    2. npm install
    3. npm start
  5. Frontend develop.

    1. cd bugu-static
    2. npm install dool -g
    3. npm install
    4. npm start
  6. Open http://localhost:8080.

Report a issue

License

BuguLink is available under the terms of the MIT License.

Buy Me A Coffee