mirror of https://github.com/lukechilds/micro.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tim Neutkens
c7de7e8d9e
|
8 years ago | |
---|---|---|
.. | ||
README.md | 8 years ago | |
index.js | 8 years ago | |
package.json | 8 years ago |
README.md
External API call example
How to use
Download the example or clone the repo:
curl https://codeload.github.com/zeit/micro/tar.gz/master | tar -xz --strip=2 micro-master/examples/external-api-call
cd external-api-call
Install it and run:
npm install
npm run start
Deploy it to the cloud with now (download)
now
The idea behind the example
Shows how to get data from an external api using async/await.