Skip to content

sarah-clements/firefox-health-backend

 
 

Repository files navigation

Project Firefox Health

Firefox metrics & insights backend. For the frontend code visit the Firefox health dashboard repo.

Build Status

Requirements

  • Node
  • Yarn (recommended)

Setting project up

In your console:

yarn // To get the dependencies installed
yarn start // To start the server

Providing a Google API key

The notes API requires a GOOGLE_API_KEY in order to access a Google Spreadsheet. In order for this API to work locally you need to create an API key for it.

Follow these instructions

  • Visit Google's cloud dashboard
  • Create a new project
  • Select "Enable APIs and services" and enable "Google Sheets API"
  • Back on the dashboard, go to credentials and create credentials
    • Do not use the wizard but select "API Key" from the drop down
  • Name it something recognizable like "fx health local server"
  • Start the backend like this:
GOOGLE_API_KEY=<created API key> yarn start

Attributions

  • heartbeat icon by Creative Stall from the Noun Project

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%