Build a simple application to show a list of articles. There are two types of article.
- Feature article: Comes with a feature image URL
- Normal article: Comes with description property
The two types of articles share a number of common properties, such as URL and author.
Your task is to get the list of articles from getArticles()
inside ZyllemApiService
and represent it on the UI.
Recommend to use Visual Studio Code and Angular Language Service
- Download and install NodeVersionManager for linux/macos users (NodeVersionManager for windows)
- Open the command line tool then install nodejs version 14 (
nvm install 14.15.0 && nvm use 14.15.0
) - Then cd to this folder directory
- Run
npm install
to install all the dependencies needed - Run
npm start
for a dev server. Navigate tohttp://localhost:4200/
- Enjoy the test and good luck