Skip to content

FACT-Finder-Web-Components/demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FactFinder Web Components Demos

These demos showcase the usage of FactFinder Web Components. You will also find several special use cases with a custom implementation.

CAUTION: These are not plug-and-play solutions. The purpose of these demos is to provide you with a source to draw inspiration from to build your own individual solution.

Installation

  1. Install Node.js
  2. Run npm install from your command line

Running demos

Open your command line tool at the demos' root directory and run

node start.js <directory> [<file>]
  • <directory> is the directory of the demo you want to start, e.g. ff-record-list
  • [<file>] is an optional parameter that specifies the file that shall be loaded. For example load-more.html. If you don't specify it, it defaults to index.html.

Example calls:

node start.js ff-record-list  # opens /ff-record-list/index.html

node start.js ff-record-list load-more.html  # opens /ff-record-list/load-more.html

Trouble Shooting

If you encounter Error: listen EADDRINUSE: address already in use :::9999, port 9999 is already being used. 9999 is the default port used by the demo starting script. You can change it in the file ./port.js to fit your system.