Skip to content

duongdev/nab-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAB Weather

screenshot

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.

Features

  • Search for locations with autocomplete.

  • View weather forecast by 5 days.

  • API query caching by using react-query.

Demo

See the public demo of the NAB Weather!

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes

Prerequisites

  • Node.js 8.0+

Installing

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.

Production

Build the web:

yarn build

Start the production servers:

yarn global add serve
serve -s build

Releases

No releases published

Packages

No packages published