Code Monkey home page Code Monkey logo

webfunny_admin's Introduction

简介:

这是一个一react技术栈为基础的单页应用

技术组成: es6 + webpack + react + react-redux + react-router + node.js v6.4.0

这是一个完整的应用级项目,能够适用于很多的业务场景

这里边包含了完整的组件化管理,数据流管理,接口请求业务逻辑处理

使用脚本创建模块,能够进行快速的开发和迭代

这是一个运用于前端监控系统的项目,我在知乎上对其作用做了介绍。

线上Demo: https://www.webfunny.cn/webfunny/javascriptError

博客讲解: https://www.cnblogs.com/warm-stranger/p/9417084.html

如何运行:

Node版本: v6.4.0

安装依赖包: npm install

本地运行:   npm run start

运行完成后访问: http://localhost:9010/webfunny/javascriptError   目前以这个页面为开始

如何打包:

打包QA环境: npm run qa

打包staging环境:npm run staging

打包生产环境: npm run prod

一、如何增加业务线模块

node module.js moduleName 

即可快速创建一系列的模块代码
modules, action, reducer, container, scss, router

二、如何部署打包的代码

需要安装Nginx服务器, 配置如下
server {
    listen       8010;
    server_name  localhost;
    root /Users/jiangyw/WebstormProjects/webfunny/dist;
    index  /webfunny/index.html;
    location /webfunny/ {
        try_files $uri /webfunny/index.html;
    }
}
重启Nginx后

访问 http://localhost:8010/webfunny/javascriptError 

webfunny_admin's People

Contributors

a826604005 avatar a597873885 avatar

Watchers

James Cloos 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.