Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maykbrito/openweather-example
test to using the API proxy server template >> https://github.com/maykbrito/ts-proxy-server
https://github.com/maykbrito/openweather-example
Last synced: 17 days ago
JSON representation
test to using the API proxy server template >> https://github.com/maykbrito/ts-proxy-server
- Host: GitHub
- URL: https://github.com/maykbrito/openweather-example
- Owner: maykbrito
- Created: 2021-10-31T16:40:19.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-31T17:32:21.000Z (about 3 years ago)
- Last Synced: 2024-07-31T19:52:37.617Z (3 months ago)
- Language: TypeScript
- Size: 22.5 KB
- Stars: 22
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Techs |
About |
How to use |
License |
Contact
## 🚀 Techs
Using the following technologies
- TypeScript
- Node.JS
- Express
- Cors
- dotenv
- Axios
- express-rate-limit
- apicache## 💻 About
API proxy server to hide API keys adding features like rate limiting & caching
## 🤔 How to use
1. Create and get your API KEY at: https://home.openweathermap.org/api_keys
2. Get the API BASE URL at: https://openweathermap.org/current
3. Configure your .env file like this
```.env
API_BASE_URL="https://api.openweathermap.org/data/2.5/weather"
API_KEY_NAME="appid"
API_KEY_VALUE="YOUR_API_KEY_HERE"
```4. Install dependencies: Open your terminal, navigate to this directory and run `yarn` or `npm install`
5. Check the app: run `yarn dev` or `npm start dev`
6. Open `http://localhost:5454/`
## 📝 License
MIT.
## 👨🏽🦲 Contact
🔥 Mayk Brito [Wanna be friend?](https://maykbrito.dev)