http-polling-with-rxjs-observables

Http Polling With Rxjs Observables

Front-end prototype for a Chuck Norris API polling app.

Polling API with Rxjs Http Observables

This is a simple http service to fetch random jokes from the infamous Chuck Norris API: 10 ata time or 1 by 1 in a polling manner.

Project

The functions are written in Typescript and compiled/bundled to JS for the use in modern browsers.

Install

yarn install

Build

yarn build

Run

yarn dev

Now go to http://localhost/5000 and fetch some Chuck Norris jokes.

License

This project is under MIT License.

Top categories

Loading Svelte Themes