Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.86 KB

README-FRONTEND.md

File metadata and controls

36 lines (24 loc) · 1.86 KB

Frontend Challenge (1-2hrs)

Please read this whole document before starting the challenge.

This app contains a static mock of an internal tool used to build sub-menus from a supplier's items. Users should be able to select items from the left-hand sidebar, and have them appear in the Menu preview.

For this challenge, we would like you to:

  • Populate items in the left-hand sidebar with data from items.js.
  • Allow users to select items in the left-hand sidebar, and have them appear in the Menu Preview on the right hand side.
  • Be able to remove items from the menu by clicking the (x)
  • Show the total number of selected items in the header
  • Show the total number of each dietary type selected in the header

If you feel comfortable, try allowing the user to drag and drop items (instead of select) from the sidebar into Menu Preview. (react-dnd is really useful, but sensible alternatives are fine).

Please complete FRONTEND-NOTES.md with your details and any additional notes outlining your thought process. Enter as many notes as you like (or none at all!). These will be used to create talking points during your interview.

We do not want you to:

  • Overstyle the application. Feel free to add niceties if you'd like, but please don't spend too much time on this.
  • Change the build configuration of the project
  • Worry too much about browser compatibility or responsiveness (it will be tested in Chrome on a Mac).
    • This is an internal tool used only on desktops. We will discuss these topics further in your interview.

Using internal component state is fine, but you're welcome to use redux/context (or any other state library) if you wish. Please justify your choice to (or not to) use a library in FRONTEND-NOTES.md.

We are looking for clean code, with sensible component structure and data propagation.

If you have any issues please email [email protected].

Good luck!