Over the next 2 weeks, you'll be building a React App that works with various APIs (Application Programming Interfaces) that talk to different data sources to do cool stuff.
We're using the OpenWeather API to get weather data on different cities. Your challenge over the next 2 weeks is to build out this website and add even more functionality to it. At the moment, it displays basic information about a location when you type it in. Check out Issues for some more ideas!
You'll need to get your own API Key from their website (for free) and add it as an environment variable in a .env
file. We have a template available as example.env
.
You'll be using React initially to build this. If you're new to React, check out the website for some information on getting started!
To setup and run the project locally:
- Download and install Node.js & npm
- Fork and clone the repository
- Install the Yarn package manager with
npm install --global yarn
- Rename
example.env
file to.env
and put your API keys here. - Run the app with
yarn start
. - The default will be opened on localhost:3000