Weather-app
https://weather-app-meta-weather.vercel.app/
https://weather-app-meta-weather.herokuapp.com/
https://github.com/coding-to-music/WeatherApp
Excellent Original version by: https://github.com/besartm7/WeatherApp
Their version viewable at: weatherapp-besartm.vercel.app
This project bootstrapped with Next.js Framework. There is public Rest API https://www.metaweather.com/api/ which I'm using to query and get data.
Refresh node packages
- Delete package-lock.json file.
- Delete node_modules.
- Run npm update
- Run npm install
npx browserslist@latest --update-db
rm package-lock.json
rm -rf node_modules/
npm update
npm audit fix --force
npm install
npm outdated | awk 'NR>1 {print $1"@"$4}' | xargs npm install
npm run dev
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3800 with your browser to see the result.
Build project:
npm run build
Run build project:
npm run start
Installation on Vercel
npm i -g vercel
to create a new project
vercel init svelte film-api-svelte-mongodb
now that this project is created, you can deploy it to Vercel
vercel
Environment variables:
vercel env add
Then the variable Then the value Then the environment(s)