Employer is a made-up employees page for a made-up company called Employer.
- Make sure to run
npm installandwebpack --watchto get Node packages installed and bundle the .js files - Serve the files locally or load index.html into your browser of choice
- When the page loads, it fires off fetch requests to the [uifaces.com][uif-link] API to generate random employee images.
- The
fakerpackage is used for generating random names and job titles for employees. - Hovering over an employee's image will animate the image.
- Clicking on an employee's image will open up a modal with a short, cut-and-paste bio about that employee.
- Dragging one employee's job and dropping it on another's will swap the two jobs with help from the
react-dndpackage.
- React
- Redux
- ES6
- HTML5/CSS3
react-reduxreact-dndfor drag and dropredux-thunkto allow Redux actions to use async functionsbabelfor transpiling ES6 and JSXfakerfor generating fake names and job titleswebpackfor bundling .js filesisomorphic-fetchfor a fetch polyfilleslintfor linting ES6
- [uifaces.com][uif-link]'s API
- [Font Awesome][fa-link]
- [Google Fonts][gf-link] [fa-link]: https://fortawesome.github.io/Font-Awesome/ [gf-link]: https://google.com/fonts [uif-link]: http://uifaces.com
