Christian Vårvik

Date of Birth: May 30, 1987 — 37 years old
Email: christian@christian.pub
GitHub: christian-public
Education
Work
Voluntary Work
Projects

API Viewer

Jan 18, 2017

The API Viewer makes it easy to view and navigate the Mattilbud API. It is implemented as an Elm app that is integrated into Mattilbud's admin website.

The API Viewer supports navigating the links that are available in the API. When navigating or changing the settings, the URL in the browser's address bar will update accordingly, which makes it easy to share the result with teammates.

The Mattilbud API supports different clients, requiring the clients to identify themselves with the API by sending a "client token" header. This makes it possible to target clients by platform, app version, OS version and so forth. To simulate a client, the API Viewer displays a dropdown list with the currently registered clients. The selected "client token" and "client OS version" are stored in local storage to avoid having to select the appropriate client again and again.

To make the API Viewer easily accessible, there are links from the various sections on the admin website to the corresponding location in the API.

Technologies

  • web
  • html
  • css
  • elm