The goal of this project is to demonstrate key concepts of various front-end frameworks and libraries. We use a simple app called Github Viewer for this purpose. The app allows you to enter the name of an organization and displays its repositories, sorted by their star rating. Here's a screen shot of the application.
The various implementations, including the key concepts they demonstrate, are described below:
- Uses Angular2
- Demostrates how the
Http
class can be used to send HTTP requests and receive results in anObservable
. Seegithub.service.ts
for the specific example. - Shows how to pass data from a parent component to a child component using input bindings (the
@Input
decorator). The key pattern we are demonstrating here is called Presentational and Container Components. Seeorg-viewer.component.html
andrepo-list.component.ts
for the specifics.