Weather is a simple weather forecast app built with NextJS and powered by WeatherAPI.com API's.
The app is available on https://weather-chi-puce.vercel.app/.
You can setup and run the application in your local environment in different ways:
Move in dev folder and make executable run.sh:
sudo chmod +x run.shThen you can build the Docker image and run the container by:
./run.sh startOpen http://localhost:3000 to view the application in the browser.
To teardown the environment run:
./run.sh stopFirst setup nvm, then move in the main folder, where the .nvmrc file are in, and run:
nvm useNow you can run the application in dev mode:
npm run devOpen http://localhost:3000 to show it in the browser.
To provide data from WeatherAPI.com, put your API key inside .env.local file, or similar, in this way:
API_KEY={your_api_key}
Every push on the main branch, trigger a GitHub action that check the code validity and push a new version on Vercel.