Follow the steps below to setup and run the application:
-
Ensure you are using Node
v16.10.0 or greater -
Navigate in to the
/salsify-code-exercisefolder -
Run
npm install -
Run
npm run startfor a dev server. Navigate tohttp://localhost:4200/. The application will automatically reload if you change any of the source files.OR
-
Run
docker-compose upif you prefer to use docker (will require Docker to be installed and running on local machine).
- Created Typescript version of the data service provided
- Created types and enums from data object
- Created sort Component and integrated the data service into it
- Built initial UI layout and sort form
- Mapped data from data service to UI and form elements
- Added comparison operator logic
- Manualy tested and fixed minor bugs
eslintandstylelintpackages to keep code more consistent in form and structure- Form directives to help validate the sort form as its filled out
- CSS polish to make app less boring to look at
- Replace multi-select with a checkbox list for enumerated values
- Unit tests