- A react component of side bar.
- Go to Github demo url to check the result.
- Github demo Address: https://jacobway.github.io/HRMP/src/pages/main.html
- Go to Github source code address to check the code quality.
- Github source code address: https://github.com/JacobWay/HRMP
- Install from source code.
git clone https://github.com/JacobWay/HRMP.git
cd HRMP
sudo npm install
npm run dev
open http://127.0.0.1:9999/src/pages/main.html
npm run test
- No bug by self-tested
- Full implementation of the requirements and extra requirements
- Read document: ~6 hours
- Build development environment: ~3 hours
- Coding: ~5 hours
- Total: ~14 hours
- Github demo Address: https://jacobway.github.io/HRMP/src/pages/main.html
- Github source code address: https://github.com/JacobWay/HRMP
git clone https://github.com/JacobWay/HRMP.git
cd HRMP
sudo npm install
npm run dev
npm run test:watch
- OS: Mac OS X Yosemite
- Tools Stack: webpack + es6 babel.js + react.js + jest + AJAX + git + vim + ...
- Clicking "Clear All": Clear all the checkbox mark (All of the checkboxes are unchecked).
- Clicking the checkbox of department on the left: toggle the checkboxes of sub directory and department.
- Clicking the checkbox of position: toggle the checkbox.
- Code maintainable.
- Pixel perfect, mockup closer, points up.
- Use JSX of React.js.
- React.js state vs props.
- Use git effectively.
- Write idiomatic code.
- Code style guide: simple, standard, modular, consistent.
- No need of the libarary of data layer, like flux, or redux.
- ES6 if you like.
- Expand & Collapse menu.
- Add Readme UI component
- Test react component