项目作者: qiniudemo

项目描述 :
一个基于七牛云存储 NodeJS SDK 和 jQuery-File-Upload 开发的 Ajax 上传示例程序
高级语言: JavaScript
项目地址: git://github.com/qiniudemo/nodejs-ajax-upload-example.git
创建时间: 2012-07-11T03:53:16Z
项目社区:https://github.com/qiniudemo/nodejs-ajax-upload-example

开源协议:

下载


一个基于 七牛云存储 NodeJS SDK 开发的 Ajax 上传(jQuery-File-Upload)示例程序。

运行环境依赖

安装和运行程序

  1. 安装依赖库

    npm install express qiniu

  2. 获取示例程序源代码:

    git clone git://github.com/qiniu/nodejs-ajax-upload-example.git

或者直接下载源码包:https://github.com/qiniu/nodejs-ajax-upload-example/tags

  1. 编辑 nodejs-ajax-upload-example/app/server.js 文件, 修改其中配置项 qiniu.conf.ACCESS_KEYqiniu.conf.SECRET_KEY 的值。参考 应用接入:获取Access Key 和 Secret Key

  2. nodejs-ajax-upload-example/app 目录下运行命令:node server.js

  3. 用浏览器打开 nodejs-ajax-upload-example/public/index.html 进行体验

说明

  1. WEB 上传所用的开源组件参见:jQuery-File-Upload

资源