/angular-github-search

A single-page Angular app to search for repositories on GitHub

Primary LanguageTypeScript

GitHub Repo Search - Angular

Background

This repo contains a project I completed as part of Microsoft's DEV315x Advanced Angular and DEV314x Angular Fundamentals courses. The idea was to create a single-page application using Angular that would allow users to perform searches using the GitHub search API.

Features

Topics covered in DEV315x Advanced Angular

  • Forms: Template-Drive Forms, Reactive Forms, Validation.
  • Advanced features of Observables and RxJS.
  • Component interaction.
  • Custom pipes and directives.
  • Angular Univerasal and isomorphic rendering.

Topics covered in DEV314x Angular Fundamentals

  • TypeScript.
  • Creation and use of services.
  • Creation and use of components.
  • Creation of templates using directives and pipes.
  • Routing.
  • Observables.
  • Unit testing with via Karma.
  • End-to-end testing with Protractor.

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.

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.