Headstarter Project 2
Created by Daniel Chen, Shadman Sakib, and Jawad Chowdhury.
Video Demo: https://youtu.be/aAiZKJXOPMw
On June 7th, a Canadian wildfire caused New York City's air quality to drop significantly. We wanted to build a real-time weather app so people can check the weather and air condition of their desired locations.
- real-time weather
- precipitation map
- 7-day forecast
- historical weather data
- top news by location
- OpenAI-powered summaries for weather & news
On the weather page, you will see the AI summarized current weather plus suggestions based on the weather at the top. Under that, you will see the 7-day forecast which shows information such as the weather, air quality, etc. Below the 7-day forecast, you will see the historical weather data which shows the data for previous days. And finally, at the bottom, you can see the precipitation in your local area or zoom out to see the precipitation around the world.
On the news page, you will see the top news in your area. If you're short on time read the summarization of the top articles.
Frontend
- React
- HTML/CSS/JavaScript
Backend
- Node
- Axios
- APIs
APIs
- Mapbox API
- NewsAPI
- OpenAI ChatGPT API
- OpenWeatherMap API
- Geoapify API
- Having a pin on the map to show User's selected location
- Displaying real-time precipitation map
- Displaying weather icons for each weather description
- Filtering news articles by country
- Passing data between React pages
- Using Twilio to add SMS notifications for alerts and etc
- Add a Search Bar to Weather and News Page
- Run
npm install
inside the project's terminal
Installs all the necessary dependencies for the code to compile properly. - Create a
.env
file in the root directory
Used to connect Resume Parser to your Firebase Storage
REACT_APP_MAPBOX_ACCESS_TOKEN="Mapbox API Key"
REACT_APP_NEWS_API_KEY= "News API Key"
REACT_APP_GEOAPIFY_API_KEY = "Geoapify API Key"
REACT_APP_WEATHERAPI_API_KEY = "WeatherAPI API Key"
REACT_APP_OPEN_WEATHERMAP_API_KEY = "OpenWeatherMap API Key"
REACT_APP_OPENAI_API_KEY = "OpenAI API Key"
- Run
npm start
in the project's terminal Opens Resume Parser app in your browser
By default it will open http://localhost:3000