Skip to content

jimmysafe/alpian-weather

Repository files navigation

⚡ Alpian Weather ⚡

Weather App application based on Open Weather Map API

App Infrastructure:

  • Typescript
  • Create React App
  • TailwindCSS
  • React Query
  • ESLint / Prettier
  • Husky Git hooks

Demo:

🚀 Live Demo 🚀

enter image description here

Environments:

⚠️ The following is here only for easy access for Alpian Devs

Please add a .env file in the root directory (follow the structure of .env.sample file) and replace REACT_APP_WEATHER_API_ACCESS_KEY= with the following

REACT_APP_WEATHER_API_ACCESS_KEY=fd6523545a5e76b679ca37c16869c5e7

Installation:

npm install

Usage:

npm run dev

⚠️ First Run on localhost ⚠️

Openweathermap api is protected by CORS policy. In order to run this app locally and bypass the CORS issue this app uses heroku's proxy (https://cors-anywhere.herokuapp.com/).

On First run please visit https://cors-anywhere.herokuapp.com/corsdemo and click on Request temporary access to the demo server to gain temporary access.

enter image description here