Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sizappaaigwat/react-starter-project
https://github.com/sizappaaigwat/react-starter-project
enzyme jest mobx mobx-react react react-router-dom
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sizappaaigwat/react-starter-project
- Owner: SiZapPaaiGwat
- License: mit
- Created: 2017-03-29T06:16:14.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-30T01:55:45.000Z (about 7 years ago)
- Last Synced: 2024-04-14T22:36:02.358Z (10 months ago)
- Topics: enzyme, jest, mobx, mobx-react, react, react-router-dom
- Language: JavaScript
- Size: 1.03 MB
- Stars: 4
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-starter-project
a starter project using react + mobx + react-router-dom
```bash
yarn
yarn run serve
yarn run test
```## RoadMap
- [x] Redux => MobX
- [x] i18n (react-i18next)
- [x] 主题皮肤 (Css Modules + Styled Components)
- [x] 单元测试 (Jest + Enzyme + nock)
- [x] WebSocket (**ws** 服务端示例)
- [x] K线图 (AnyStock / TradingView / AmStock / ECharts)## Unit Test
- [Jest & Enzyme](https://semaphoreci.com/community/tutorials/how-to-test-react-and-mobx-with-jest)
- [react-i18next](https://github.com/i18next/react-i18next/blob/master/package.json) 单元测试代码可以参考
- [mobx-react](https://github.com/mobxjs/mobx-react/blob/master/test/inject.test.js)## Links
- [ws](https://github.com/websockets/ws)
- [Styled Components](https://github.com/styled-components)
- [Jest](http://facebook.github.io/jest/)