- Open CMD. Clone the from GIT ()
- Change directory to AngularCodeTest
- Hit command a npm install.
- Hit command ng build
- Hit command ng serve
- Application would open in browser, select region then country
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
- Usage of CSS in a better way.
- Addition of karma test cases.
- Usage of NGRX store to retrieve information. [NOTE: Currently information is stored but NOT retrieved. Select query not working, needs debugging]
- Making table display more generic rather than hard coding.
- More imporved changed detection technique for dropdown components thus increasing reusability.
- Addition of Linting for maintability.
- Parent component is app.component.
- Child component for dropdown is region.component
- Child component for table is country-details.component.
- Store actions created in file store.action
- Store reducer has been created in file store.reduce.