/web-coding-challenge-angular

Webapp that will list the most starred Github repos using Angular.

Primary LanguageTypeScript

Idea of the App (GithubApp)

The task is to implement a small webapp that will list the most starred Github repos that were created in the last 30 days. You'll be fetching the sorted JSON data directly from the Github API, maybe we will try Github GraphQL API in the futur.

Some screenshots for the app :

Desktop (> 1450px) :

Desktop/Tablette(between 1450px and 575px) :

Mobile:

Features

  • As a User I should be able to list the most starred Github repos that were created in the last 30 days.
  • As a User I should see the results as a list. One repository per row.
  • As a User I should be able to see for each repo/row the following details :
    • Repository name
    • Repository description
    • Number of stars for the repo.
    • Number of issues for the repo.
    • Username and avatar of the owner.
  • As a User I should be able to keep scrolling and new results should appear.

GithubApp

This project was generated with Angular CLI version 8.3.17.

Development server

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.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.