Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chanda-abdul/climate-change-api-tutorial


https://github.com/chanda-abdul/climate-change-api-tutorial

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

        

## Quickly Build an API

[This tutorial](https://youtu.be/GK4Pl-GmPHk) and [this code](https://github.com/kubowania/climate-change-live-api)

`npm i node`

`npm init`

[`npm i cheerio`](https://www.npmjs.com/package/cheerio) - For web scrapping

[`npm i express`](https://www.npmjs.com/package/express) - listen to port

[`npm i axios`](https://www.npmjs.com/package/axios) - promised based http client

[`npm i nodemon`](https://www.npmjs.com/package/nodemon) - nodemon is a tool that helps develop Node.js based applications by automatically restarting the node application when file changes in the directory are detected.

`npm run start`

- create API in `index.js`

Then [https://vercel.com/](https://vercel.com/) and [https://rapidapi.com/](https://rapidapi.com/)

✨ [how-to-deploy-an-express-api-to-vercel](how-to-deploy-an-express-api-to-vercel) ✨

## Built With
![](https://img.shields.io/badge/Node.js-43853D?style=for-the-badge&logo=node.js&logoColor=white)![](https://img.shields.io/badge/Express.js-404D59?style=for-the-badge)![](https://img.shields.io/badge/Vercel-000000?style=for-the-badge&logo=vercel&logoColor=white)![](https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=black)![Nodemon](https://img.shields.io/badge/NODEMON-%23323330.svg?style=for-the-badge&logo=nodemon&logoColor=%BBDEAD)