Demo: link
- Uses only one custom UI component
<app-list>
that includes a table list and a button, all design are custom-coded, no external UI libraries were used - Calls a mock API by using
http.get()
to retrieve local JSON file to be used as movies data - Using
ngRx
for state management - Every time when user click on
Start Rating
button, a random number of seconds of timer will be created, and shown besides the button text - Upon reaching
0
, an action will be dispatched to thestore
and return a new list with random items given with a new random rating of 1-10 - Unless
Stop Rating
is clicked, Step 4 - 5 will be repeated endlessly - This project is mobile-responsive
Total of 9 tests 1 were written for the following .ts
in their corresponding .spec.ts
:
app-component
app-list.compononent
movie.service
movie.reducers
movie.selectors
Deployment to GitHub is using angular-cli-ghpages.
Running ng deploy
will deploy to GitHub repo defined in angular.json
Format is following the angular commit message format
1: Tests were written with the purpose to verify the main functionalities. Hence, it does not cover e2e tests and does not achieve 100% code coverage.↩