sfrieson / covid-19-outbreak-needs-api

API to support a system of posting needs and offerings during the 2020 COVID-19 outbreak in NYC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

COVID-19 Outbreak Needs API

Getting Started

Before you start

You need a valid .firebaserc file. It should look something like this:

{
  "projects": {
    "default": "<your Firebase project name>"
  }
}

You will also need the credentials JSON file for the "App Engine default service account" exported as an environment variable.

Starting the server

To start the development server for the Firebase functions run:

make server

This will ensure the dependencies are available if there are any. This includes installing the npm packages listing in the functions/package.json as well as copying down the environment variables running in the deployed functions.

Testing the funciton locally

Looking at the output from running make server, you should see lines that point you to where the functions are running like:

✔  functions[<function name>]: http function initialized (http://localhost:5001/<project name>/<project zone>/<function name>).

About

API to support a system of posting needs and offerings during the 2020 COVID-19 outbreak in NYC


Languages

Language:JavaScript 93.9%Language:Makefile 6.1%