Skip to content

sunyongjian/react-full-start

Repository files navigation

Introduction

A full stack react initial project for testing, using cases, or project template.But it dose not include whole react family, eg: redux/mobx.I hope you choose the right one.

At first, the repository was designed to start quickly a react project to test funture. Now, it's an all-around development template about react.It uses the following technology stacks.

Scripts

prepare

git clone https://github.com/sunyongjian/react-full-start.git

yarn/ npm install

dev

npm run dll
npm start

prod

npm run builddll
npm run build

# open

http://localhost:8888/public/index.html

Tech Stacks

  • React
  • Babel
  • Less
  • Eslint
  • Webpack2
  • Yarn
  • Node/Express

Feature

It will support some of the features used in development or production environments.

  • HotModuleReplace
  • Dll
  • Production/Development
  • UglifyJs
  • ExtractTextCss
  • Proxy
  • Mock

Proxy

You can define proxy host in config/proxy.js, and open the proxy when npm start. eg: npm start api.

Mock

Applying sun-mock-middleware.reference

About

a full stack frame for react

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published