travisoverby / covidhax

0 stars 2 forks source link

Install 'axios' dependency; create axios instance in singleton file #36

Closed travisoverby closed 4 years ago

travisoverby commented 4 years ago

This will later be imported in other files to make API calls as follows:

import axios from '../path/to/axios-covidhax-client.js'; ... axios.post('/path/to/API/endpoint', endpointData).then(...)