3 Star 6 Fork 3

alex1504 / vue-qiniu-image-bed

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

CN

牛牛图床

Vue-cli脚手架构建的七牛图片管理图床单页应用(基于museui,前后端分离。后端基于express及七牛nodejs-SDK开发,服务原本部署在Heroku,由于服务响应速度慢的原因,已将后端服务部署在华为云服务器上。 preview

项目地址:

源码地址:https://github.com/alex1504/vue-qiniu-image-bed 在线地址:http://cowbed.huzerui.com

功能开发

  • 私人空间、公共空间切换
  • 控件上传、拖拽本地图片上传、在线图片URL上传
  • 外链复制(markdown)
  • 图片管理、预览、下载、批量删除
  • 图片广场,分享图片到广场
  • 图片分日期管理
  • 图片重命名
  • 音频、视频资源管理

技术栈

前端:

  • Vue2:Vue2.0渐进式MVVM框架
  • Vuex:实现不同组件之间的状态共享
  • Vue-router:单页应用路由管理插件
  • Axios:Http请求工具
  • SASS(SCSS):css预处理语言
  • Webpack:自动化构建工具
  • Localstorage:本地存储

后端:

  • Express:简洁而灵活的 node.js Web应用框架
  • cors(中间件):跨域资源共享
  • body-parse(中间件):对请求体进行解析
  • formidable(中间件):解析表单数据(form-data)的Node.js模块
  • nodemon:监听修改自动重启node服务插件

主要语法:

  • 前端ES6,后端ES5(部分开发时间是在公司,由于某些原因无法使用高版本node)

本地预览

git clone https://github.com/alex1504/vue-qiniu-image-bed.git
cd https://github.com/alex1504/vue-qiniu-image-bed.git
// 安装前端依赖
npm install
cd server
// 安装后端依赖
npm install
cd ../
npm run dev
// 开启另一个git进程
npm run server

其他

  1. 为提高访问速度,图床使用coding静态网站托管服务
  2. 项目前端使用localStorage保存七牛授权数据
  3. 部分资源库采用CDN方式引入,由bootCDN提供
  4. 若有任何问题、反馈或者建议,请提交issue中。
  5. 若项目对你有所帮助,别忘了star一下。

EN

Cow-Bed

A single page application for Qiniu image management which using Vue-cli(base on museui), front-end and back-end seperation. The back-end is based on express and Qiniu nodejs-SDK, it deployed and served originally on Heroku, but dure to slow service response, the service has been deployed on the friend's HUAWEI cloud server. preview

Project Address:

Source address: https://github.com/alex1504/vue-qiniu-image-bed Online address:http://cowbed.huzerui.com

Function Development

  • Private space and public space switching
  • Upload with input element, drag file to upload, upload online pictures URL
  • Outer chain replication (markdown)
  • Picture management, preview, download, batch delete
  • Picture square, share pictures to the square
  • Picture management by date
  • Picture rename
  • Audio and video resource management

Technology Stack

Front-end:

  • Vue2:Vue2.0 progressive MVVM framework
  • Vuex:Sharing state between different components
  • Vue-router:Single page application routing management plug-in
  • Axios:Http request tool
  • SASS(SCSS):CSS preprocessing language
  • Webpack:Automated building tools
  • Localstorage:Local storage

Backend:

  • Express:A concise and flexible framework for node.js Web applications
  • cors(Middleware):Cross domain resource sharing
  • body-parse(Middleware):Parsing the request body
  • formidable(Middleware):Node.js module for parsing form data (form-data)
  • nodemon:Monitor modify auto restart node service plug-in

Main grammar:

  • Front end ES6, back-end ES5 (part of the development time is in the company, for some reason can not use the high version of node)

Local Preview

git clone https://github.com/alex1504/vue-qiniu-image-bed.git
cd https://github.com/alex1504/vue-qiniu-image-bed.git
// Installation front-end dependency
npm install
cd server
// Installation backend dependency
npm install
cd ../
npm run dev
// Open another git process
npm run server

Others

  1. In order to improve access speed, the website using coding for static host
  2. Using localStorage to save seven cattle authorization data.
  3. Some resource libraries are introduced by CDN, which is provided by [bootCDN] (http://www.bootcdn.cn/).
  4. If you have any questions, feedbacks or suggestions, please submit them to issue.
  5. Welcome to fork and star, your support is the driving force for me to move forward.
MIT License Copyright (c) 2017 Zerui Hu Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Warm-heard-image-bed for qiniu image management. 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/alex1504/vue-qiniu-image-bed.git
git@gitee.com:alex1504/vue-qiniu-image-bed.git
alex1504
vue-qiniu-image-bed
vue-qiniu-image-bed
master

搜索帮助