Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/chanda-abdul/climate-change-api-tutorial
- Owner: Chanda-Abdul
- Created: 2023-08-09T02:13:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-09T03:06:08.000Z (over 1 year ago)
- Last Synced: 2023-08-09T04:00:16.503Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://climate-change-api-tutorial.vercel.app
- Size: 1.69 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)