当前位置: 首页 > 软件库 > Web应用开发 > >

express-react-redux-starter

授权协议 Readme
开发语言 JavaScript
所属分类 Web应用开发
软件类型 开源软件
地区 不详
投 递 者 陈增
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

DEPRECATED. This project is not maintained anymore.

Starter for Express, React, Redux, SCSS applications

Features

  • Webpack development and production environment configuration
  • Webpack SCSS configuration
  • React Hot loader
  • React Router configuration
  • React, Redux configuration
  • Testing environment configured with Mocha and Chai
  • Linting with Airbnb eslint configuration

Getting Started

Clone Repo

git clone https://github.com/DimiMikadze/express-react-redux-starter.git

npm install dependencies

cd express-react-redux-starter 

npm install

Start development server with hot reloading

npm run dev

Testing

Run test once

npm run test

Test watch

npm run test:watch

Linting

For linting i'm using Eslint with Airbnb Eslint configuration

npm run lint

Production

Build for production

npm run build

Start production server

npm run start

Note: I'm using pm2 for production server, you should install it on server via 'npm install pm2 -g'.if you don't want to use pm2, just change pm2 with node in package.json file in scripts section.

Contributing

contributions are welcome!

License

MIT

  • 最近没事又翻译了个玩意。 Github上的一个Star 非常高的 React 样板程序。 由Node.js,Express,GraphQL和React构建,可选加入Redux等,并可以包含Webpack,Babel和Browsersync。 项目主页:React Starter Kit Github项目地址:https://github.com/kriasoft/react-starter-kit

  • 本套课程,讲解了React中技术的整个搭建思路及流程,完整的从原理上讲清楚了的概念,重点在于讲解编写框架遇到的各种知识点,以及细节上的处理和问题的排查。帮助同学们彻底理解深入理解服务器端渲染及底层实现原理,课程学习完成,大家可以搭建属于自己的工程架构。 适合人群 需要有一定的React项目经验, 想要提升自己 进军中高级工程行业的前端开发人员 建议您先从《React16.4开发简书项目 从零基础入

 相关资料
  • Live redux-react-starter This repository contains the minimal app to get started with redux, react, hot-reloading, async function and some other great stuffs. How to yarn 0.18+ must be present on your

  • 目录 为何组件没有被重新渲染、或者 mapStateToProps 没有运行? 为何组件频繁的重新渲染? 怎样使 mapStateToProps 执行更快? 为何不在被连接的组件中使用 this.props.dispatch ? 应该只连接到顶层组件吗,或者可以在组件树中连接到不同组件吗? React Redux 为何组件没有被重新渲染、或者 mapStateToProps 没有运行? 目前来看,

  • React-babel-webpack-es6 Starter Project A boilerplate using React, webpack and hot module reloading, and ES6 + JSX via Babel.You could use it as a base to build your own web app. Features The provided

  • React, Redux & Sass Starter A simple and quick way to get you going with developing React applications with Redux and Sass. Comes with pre-configured Webpack for bundling your application to help save

  • Universal React Redux Boilerplate A universal React/Redux boilerplate with sensible defaults. Out of the box, thisboilerplate comes with: Server-side rendering with Express Code splitting with dynamic

  • React-Redux-Enterprise A React-Redux boilerplate for enterprise web applications. Before you start with this boilerplate, please take a few minutes to read this article and see if you really need this