This project has been created to handle a code review by the candidate. Project has error inside that the candidate should solve.
Candidate should run and find the bug inside the code
- Application gives an error where and why
- Refactor the
authorscomponent name to align to angular standards - Refactor improve
AuthorsComponentto show the list of authors through an array - Refactor improve
AppwithAuthorsServiceto get authors list - Refactor improve
AuthorsComponentto use a serviceAuthorsServiceto get authors list - Add unit testing for
AuthorsComponentandAuthorsService - Add e2e testing for
AuthorsComponent
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.
Use ng serve --port 4021 to change port to 4201 if needed
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.