- Clone the Repository
- In the base directory, run
npm install
- Run
npm start
npm test
Some next iteration items I'd like to call out that I think would be obvious wins:
- Using context/redux. I think I am at the limit of the number of times I'd like to be passing items down from the top level. I think this could be achieved with just the context api, but assuming the app would get more complex, therefore prompting the change, more complex state management might be useful
- A search/sort would be easy wins.
- Better feedback on form validation.
- SASS/LESS or Styled components. The CSS here is pretty rough and ready, and I think I just prefer LESS but have enjoyed Styled components in the past.
- Improve test coverage.
- Focus on render for the edit form. Save the user a click.
- Pagination would likely be necessary/helpful.
- More Error Handling. A modal to report errors, eg on api failures.
- Hide "no users" messaging if edit window is open.
There's a bit of bloat from using react-create-app. Not all of it got removed.