Station Finder

A project for locating fuel stations using Cloudflare.

Cloudflare

Table of contents

Status

Station Finder is single page application hosted on Cloudflare using Pages, Workers and Workers KV to function. The premise is to find information about available fuel stations.

Access by browsing to funwithfuels.co.uk.

It will return a list of stations based on postcode.

A station selection will result in the retrieval of:

  • Summary text;
  • Points of interest;
  • Location co-ordinates;
  • Up to three images with optional description text;

Client-side JavaScript reconfigures the page elements based on this information. For example, a Google Maps link is visible if location coordinates are available.

Limitations

  • Database entries are manual JSON insertions.

Aspirations

In order of preference:

  • Search filters.
  • Location distance-ordered results.
  • UI for data entry.

Relevant posts