Yahoo Api mock data for the Google codelabs
We'll use the now.sh service to deploy our app and generate an end point for our mock data.
First, install the now.sh
CLI globally.
npm install -g now
Second, clone the repo:
git clone https://github.com/shidhincr/yahooApi-mock.git yahooApiMock
Finally, deploy our app: ( run the following commands )
cd yahooApiMock && now
This will generate the final link for our mockdata:
use https://yahooapi-ufypafuyqe.now.sh/yahoo.json
( the generated url + '/yahoo.json' ) to get the mocked data.