Giter Site home page Giter Site logo

basicframework's Introduction

#BasicFramework

######项目介绍

  • 基于react react-router redux 由webpack进行打包构建的项目基本架构
  • 版本1.0.0:
  • 具有基础功能的react redux基础框架
  • 版本1.1.0:
  • 新建store文件,支持store middleware(自带logger, trunk)
  • 支持异步action
  • 版本1.1.2:
  • 增加mock数据功能(json-server)
  • 增加mock数据相关的mock文件夹
  • install faker 随机生成模拟数据

######技术选型

  • react
  • react-router
  • redux
  • fetch
  • zepto (不建议使用)

######项目构建工具

  • webpack

######项目层次


######项目作者


######运行方式

  • npm install
  • 开发 npm start
  • 编译 npm run build

######mock数据

  • npm install -g json-server
  • json-server mock/db.js --routes mock/db.json --watch mock/db.js

fetch('/api/activity?method=a') .then(res => res.json()) .then(data => console.log(data))


######代码提交方式

  • svn st
  • svn add -new fils
  • svn commit -m 'FEA:iwork编号 ... '

basicframework's People

Contributors

mengxiangrui avatar

Stargazers

heitty avatar  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.