Code Monkey home page Code Monkey logo

gitdatav's Introduction

GitDataV

GitDataV,是一个github“大数据可视化平台”,通过它你可以更直观的看到你在github里的一些数据:
个人信息(✔),仓库stars情况(✔),仓库语言分类(✔)
仓库公开数量(✔)、粉丝数量(✔)、跟随数量(✔)、仓库数据(✔)、最近你的操作(✔)
最近的粉丝(✔)、最近的跟随(✔)、最新信息(✔)
左上角箭头小彩蛋: 全屏(✔)、 国际化语言切换(开发中...)、皮肤切换(开发中..)

GitDataV在线演示使用

ps:GitDataV在线演示使用,打包发布后有些bug暂时未处理,但不影响正常使用...

实例效果

构建和设置

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run all tests
npm test

项目目录结构

├── README.md                  项目介绍
├── index.html                 入口页面
├── build                      构建脚本目录
│  ├── build-server.js         运行本地构建服务器,可以访问构建后的页面
│  ├── build.js                生产环境构建脚本
│  ├── dev-client.js           开发服务器热重载脚本,主要用来实现开发阶段的页面自动刷新
│  ├── dev-server.js           运行本地开发服务器
│  ├── utils.js                构建相关工具方法
│  ├── webpack.base.conf.js    wabpack基础配置
│  ├── webpack.dev.conf.js     wabpack开发环境配置
│  └── webpack.prod.conf.js    wabpack生产环境配置
├── config                    项目配置
│  ├── dev.env.js             开发环境变量
│  ├── index.js               项目配置文件
│  ├── prod.env.js            生产环境变量
│  └── test.env.js            测试环境变量
├── package.json              npm包配置文件,里面定义了项目的npm脚本,依赖包等信息
├── src                       源码目录  
│  ├── main.js               入口js文件
│  ├── app.vue               根组件
│  ├── components            公共组件目录
│  │  └── index.js           把全部组件遍历出来
│  ├── assets                资源目录,这里的资源会被wabpack构建
│  │  └── css                css基础重置
│  │  └── data               可视化界面需要的图片
│  │  └── iconfont           字体图标
│  │    └── bg.png
│  ├── routes               前端路由
│  │  └── index.js
│  └── pages               页面目录
│    ├── app               入口文件
│    └── data              可视化文件
├── static                纯静态资源,不会被wabpack构建。

相关链接

技术点

  • vue(vue项目构建、指令的灵活运用、组件封装、组件之间通信)
  • vue-router(路由预备知识:hash和history区别、动态路由、路由切换传参)
  • 网络请求axios(自己封装axios、跨域代理配置)
  • 可视化工具echarts、v-charts处理图形(控制大小、布局、颜色、接受数据格式)
  • es6(基础语法,比如在梳理数据过程中用到map遍历数组、对象和数组转换等等)
  • scss(配置、语法)
  • bootstrap、iconfont(用于没有设计师,作为前端设计能力有限,所以引用这两个)

License

MIT

gitdatav's People

Contributors

hongqingcao avatar

Watchers

James Cloos avatar  avatar

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.