Coder Social home page Coder Social logo

bugulink / bugu-web Goto Github PK

View Code? Open in Web Editor NEW
36.0 4.0 4.0 117 KB

BuguLink backend project (Koa2 + MySQL + Redis).

Home Page: https://bugu.link

JavaScript 67.36% HTML 32.44% Shell 0.20%
koa2 koa-orm koa-router mysql redis koa-view website filesharing

bugu-web's Introduction

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).

    # Database Config
    export BUGU_DB_NAME="Your database name"
    export BUGU_DB_USER="Your database username"
    export BUGU_DB_PASS="Your database password"
    export BUGU_DB_HOST="127.0.0.1"
    export BUGU_DB_PORT=3306
    
    # Qiniu CDN Config
    export BUGU_QN_NAME="Your Qiniu bucket name"
    export BUGU_QN_AK="Your Qiniu access key"
    export BUGU_QN_SK="Your Qiniu secret key"
    export BUGU_QN_DOMAIN="Your Qiniu bucket domain"
    
  3. Clone source from Github.

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

    cd bugu-web
    npm install
    npm start
    
  5. Frontend develop.

    cd bugu-static
    npm install dool -g
    npm install
    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

bugu-web's People

Contributors

helloyou2012 avatar nickicindy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bugu-web's Issues

真赞,这个链接数据库直接用koa-orm就好

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.