Skip to content

koa作为后台服务器,上传文件到七牛网站上

Notifications You must be signed in to change notification settings

xiangming25/koa_qiniu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

koa_qiniu

koa作为后台服务器,上传文件到七牛服务器上

文件目录结构

koa_qiniu

bin

www

public

images

javascripts

stylesheets

routes

index.js

users.js

views

error.ejs

index.ejs

upload_form.ejs

uploader.ejs

README.md

app.js

config.js

package.json


使用方法

> git clone [email protected]:ming25/koa_qiniu.git
> cd koa_qiniu
> npm install

 # 修改config 配置
 1. 修改ACCESS_KEY值
 2. 修改SECRET_KEY值
 3. 修改Bucket_Name值
 4. 修改Uptoken_Url值
 5. 修改Domain值
 
> npm start

访问

http://127.0.0.1:3000/uploader


需要的文件的外部链接

参考网址-七牛 http://developer.qiniu.com/code/v6/sdk/javascript.html

plupload 下载 http://www.plupload.com/download/

About

koa作为后台服务器,上传文件到七牛网站上

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages