Lucas

Project — angular-chuck-norris

A Joke-Fetching Angular App Using the Chuck Norris Public API

First exploration of Angular HttpClient, Observables, and BehaviorSubjects.

Image 1
Image 2
Image 3
Image 4
Image 5
Image 6
Image 7
Image 8
Image 9
Image 10
1 / 10
01

In plain English

A small website that shows Chuck Norris jokes on demand. Pick a category and get a new joke in one click.

02

For the curious

The app calls the ChuckNorris.io API with Angular's HttpClient. Observables and BehaviorSubjects keep the state in sync, so the page updates as soon as a new joke arrives.

A little summary :

Built in a day to get comfortable with calling an API and handling reactive data in Angular.