Note: This project is for demo purpose, which means it's not yet ready for production.
Weather forecast website using create-react-app and material-ui. API powered by metaweather.com.
-
Search for locations with autocomplete.
-
View weather forecast by 5 days.
-
API query caching by using react-query.
See the public demo of the NAB Weather!
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes
- Node.js 8.0+
Clone the repository:
git clone https://github.com/duongdev/nab-weather.git
Enter the project directory:
cd nab-weather
Install NPM dependencies:
yarn install
Run the development servers:
yarn start
Run unit tests
yarn test
Go to http://localhost:3000 to access the website.
Build the web:
yarn build
Start the production servers:
yarn global add serve
serve -s build