Skip to content

ipanli/tasklist-react

Repository files navigation

tasklist-react

Panli运维平台 任务列表 React 重构

React Redux Boilerplate with sGrid, Webpack and Hot Module Replacement configuration.

Router 路由系统

  1. 以仓库为基准的路由系统
/warehouse/组织名或用户名/仓库名/分页数
/warehouse/SoftwareTest/Panli/2

This is a simple React boilerplate with:

api

http://devops.panli.com/api/getissues?gitusername=SoftwareTest&gitreponame=Panli&pageid=1

Usage

$ npm install
$ npm start

...and go to: http://localhost:3000

More info and documentation soon. There will be also a tutorial in a blog post. Stay tuned.

Prepare for production

If you are ready to prepare your production files. You can run npm run build. Webpack will bundle and save all needed files (.js, .css, img, .html) in the public folder.

Tests and ESLint

It uses Mocha runner config. You can use Enzyme, Chai, Sinon and JSDOM too. Configuration allows you to test components which uses CSS Modules. If you want to run tests put your test files in the __tests__ folder and run npm test. (it will run eslint too) or npm run testonly. You'll find example tests in the __tests__ folder.

Works in Node which supports Promises.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published