Skip to content

dubberlydesign/covic-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COVIC Visualizer Server

COVIC Visualizer Client

For information about running the client app reference: COVIC Visualizer Client

Steps to run project locally

From within the covic-visualizer folder run:

Install Server Dependencies

npm install

Start up Local Server

npm run dev



Deploying to Heroku

From within the covic-visualizer folder run:

git push heroku main

Deploying to a different server

Covic Visualizer server is built off of Node.js, so your deployment environment must be capable running Node.js

On your deployment environment please add the following environment variables(*contact admin for airtable keys)

AIRTABLE_API_KEY
AIRTABLE_BASE
  • Please never place these Airtable Environment variables in the projects .env file as this is sensitive access data.

Live link

https://covic-visualizer.herokuapp.com






Airtable Information

*Please do not edit the column names, param names for these views)

Views used from Figures Table

API [DO NOT EDIT]
API [DO NOT EDIT] old-new
Figures Grid

Metadata table

Metadata table is used to populate filter categories

API [DO NOT EDIT]






API Breakdown

covic-data.js

Contains the main part of the app that is responsible handling interaction between the Airtable Data

BaseURL:

https://api.airtable.com/v0/...



AirTable Routes

base: '/'
figures: '/figures'
meta: '/metadata'