Weather App written in JavaScript to search for the forecast of cities and have the option of seeing it in Celsius and Fahrenheit.
- JavaScript
- Webpack
- ESLint
- StyleLint
- Firebase Hosting
To get a local copy up and running follow these simple example steps.
- Create a firebase account
- Install firebase CLI
- Install Node
- Sign up to Open Weather Map and validate your account to get and API key.
- Sign up to Gifphy and validate your account to get and API key.
From the command line/terminal clone the repository:
$ git clone https://github.com/abdelp/weather-app.git
Initialize the firebase hosting service
$ firebase init
Select firestore and hosting features:
Select /dist as the public directory:
Put your Open Weather Map and Gifphy API keys in ./src/modules/params-provider.js
To get the forecast of a city, you only need to put the name of the city in the search bar and press enter or click the search button on the right.
To deploy on your local environment run:
$ firebase serve
To deploy to your firebase production environment:
$ firebase deploy
👤 Abdel Pérez
- Github: @abdelp
- Twitter: @AbdelPerez11
- Linkedin: Abdel Pérez
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
This project is MIT licensed.