Code Monkey home page Code Monkey logo

echarts-'s Introduction

ECharts 微信运动展示

A Vue.js project

项目使用vue2.0、vuex、axios、ECharts 对微信运动最近31天进行展示。后端使用nodejs、Express、mongodb进行数据保存。

安装

npm install
npm run dev
npm run build

微信获取运动部分

  1. 使用已上线的-小书生Lite。进行用户数据收集。
  2. 调用相关微信接口,发送数据到后台采集用户运动数据,保存至后端数据库。
  3. 自行生成一个runID用于网页查询自己的最近运动数据。
  4. 微信小程序相关代码请查看

vue、ECharts前端部分

  1. 首页输入微信端自行设置的runID进行数据获取
  2. 数据获取通过axios进行请求数据,保存vuex
  3. 使用了ECharts进行数据展示

后端部分

  1. 使用了nodejs,用Express框架进行开发
  2. 处理前端发送的微信数据进行处理保存
  3. 将用户数据保存至mongodb数据库
  4. 提供接口获取了用户的运动数据
  5. 后端部分代码请移动至

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.