Skip to content
A view of the FT homepage designed for non-interactive video walls and billboards
JavaScript CSS HTML
Branch: master
Clone or download
Latest commit 36680a7 Aug 6, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github adds PR template Jul 30, 2019
client/src
resources Weather widget design Feb 26, 2016
server
tests updates api.ft.com to use https protocols Jul 30, 2019
.eslintrc Missing some semi-colons for linting, here are some spares: ;;;;;;;;;… Feb 25, 2016
.gitignore
Procfile add missing slash Jan 6, 2016
README.md Update README.md Jan 24, 2018
circle.yml wrong install command Feb 25, 2016
package.json Update package.json Jan 24, 2018

README.md

Warning

In package.json, the version of jquery has been bumped to 3.0.0, in response to an automated vulnerability check, but not tested. The code is not live. Caveat emptor.

Big FT Test Coverage Code Climate

Development

Prerequisites

Setting up development environment

  • Clone the repository -- git clone git@github.com:ftlabs/big-ft.git
  • Change in repository directory -- cd big-ft
  • Install the dependencies -- npm install
  • Build the files used by the web client -- npm run build
  • Spin up the web server -- npm start
  • Open the website in your browser of choice -- open "localhost:3000" -- it will default to port 3000

Day-to-Day Development

When developing you may want to have the server restart and client files rebuilt on any code changes. This can be done with the develop npm script -- npm run develop.

Testing

Selenium is used for integration testing. In order to get Selenium running you will need to install the Java Development Kit.

Updating Code-Climate

  • Install Code-Climate's Test Reporter -- npm install -g codeclimate-test-reporter
  • Run the tests for the project -- gulp test
  • Upload the coverage file to Code-Climate -- CODECLIMATE_REPO_TOKEN=[your token] codeclimate-test-reporter < coverage/lcov.info

Usage

To experience the big view glory:

To display a specific timezone:

To display the US home page:

To include recent articles about a specific organisation whih may not ordinarily make it to the front page

To configure the big view glory to display articles about Amazon:

To configure the big view glory to display only the first top-story in the primary section:

To customise everything in the big view glory which is customisable:

To switch to the simplistic black and white version

Vanity URLs

For our partners, we can display a vanity URL in the corner of Big FT. To display the vanity url, pass the partners name (as listed here ) a query parameter to the Big FT service. For example http://big.ft.com/?partner=labs will display the URL labs.ft.com in the bottom right corner. If the value passed does not relate to one of our partners, www.ft.com will display instead.

You can’t perform that action at this time.