Giter Club home page Giter Club logo

bugwatch's Introduction

bugwatch

监测bug报错平台

技术栈:

  • Vue2系列: Vue2 + Vue-router
  • 插件: Echarts(图表)
  • 接口请求: Axios
  • 数据库: MongoDB, Mongoose(驱动 MongoDB 的,大家可以多了解下怎么用这个取数据,存数据)
  • Koa: Koa2(主要用来写接口), Koa-Router(koa一个方便的处理地址栏路径的插件), koa-bodyparser(解析post请求数据的插件)
  • 接口转发配置在 config/index 里的 proxyTalbe
  • 本地调试接口请另外开一个控制台 输入 node app.js

项目结构

前端

  • src 前端代码在
  • static 静态资源
  • router/index.js 前端页面的路由,要加前端页面的请记住要到这里配置
  • config build 项目的构建代码

后端

  • app.js 后端服务的启动代码
  • server 后端代码主要放在这里
    • server/controller 前端直接访问的接口主要定义在这里
    • server/models Schema (Schema不知道的话可以把它理解为数据库的表的字段的定义)定义
# install dependencies
npm install

## start server
node app.js

# serve with hot reload at localhost:8080 and open koa service.
npm run dev
# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.

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.