Clone or Fork the repo
You need npm and yarn installed (For Mac, brew install npm
and brew install yarn
).
To install run npm install
To start a local server run the command yarn start
in the root directory of the repository.
After completion you can
-
email [email protected] a zip
git archive --format zip --output /full/path/to/zipfile.zip master
-
Or you can submit a pull request
-
Or you can email the url of the repo if public
Please complete in any order whichever features or questions you wish. If you're doing this on-site, it's not expected that everything is completed within an hour. When complete, just submit a PR. Thank you!
-
Add validation so that a deal isn't created unless all fields are entered. Display errors when a field is missing or contains bad data.
-
Add ability to remove deals from the
DealsTable
(interface up to you). -
Add ability to publish a deal from the
DealsTable
(interface up to you). -
Add ability to sort deal rows in ascending or descending order by clicking the header cell of the different fields by which you wish to order.
-
NewDealForm
will rerender some of its children unnecessarily. Why? What is the generally recommended solution? -
How would you hook this frontend to a backend (vs storing the data locally in the store only). How would you load initial data?
-
What other suggestions can you make to improve the quality of the code?