Requirements
- Node.js and npm
Getting started
Run the following command on your local environment:
git clone https://github.com/kikoanis/Weather.Forecast.UI.git
cd Weather.Forecast.UI
npm install
You need to first to run the other API project and open it at http//:localhost:5000
Then, you can run locally in development mode with live reload:
npm run dev
Open http://localhost:3000 with your favorite browser to see project.
Production
You can see the results locally in production mode with:
$ npm run build
$ npm run start
The generated HTML and CSS files are minified (built-in feature from Next js). It will also removed unused CSS from Tailwind CSS.
You can create an optimized production build with:
npm run build-prod
Two cities are saved already. If you want to add more just search for a city in the auto complete field next to "Search City", select and save.