From 92927ab5282516e04d586f7e897b0adbd30a60b4 Mon Sep 17 00:00:00 2001 From: sanguu Date: Thu, 29 Sep 2022 15:02:55 +0900 Subject: [PATCH] =?UTF-8?q?=EB=82=A0=EC=94=A8=20=EC=A0=95=EB=B3=B4API=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 ++ .env.production | 6 +++- public/index.html | 5 ++- .../layouts/components/navbar/NavbarUser.js | 12 +++++++ src/configs/constants.js | 2 ++ src/router/routes/RouteWeather.js | 18 ++++++++++ src/router/routes/index.js | 2 ++ src/views/weather/WeatherView.js | 36 +++++++++++++++++++ 8 files changed, 82 insertions(+), 2 deletions(-) create mode 100644 src/router/routes/RouteWeather.js create mode 100644 src/views/weather/WeatherView.js diff --git a/.env.development b/.env.development index 3dbcad7b..0f7bbd6e 100644 --- a/.env.development +++ b/.env.development @@ -5,6 +5,9 @@ REACT_APP_IMAGE_HOST = https://palnet-file.s3.ap-northeast-2.amazonaws.com/ # Naver Search API HOST NAVER_SEARCH_API_HOST = https://openapi.naver.com/v1/search/local.json +#windy API KEY +REACT_WINDY_KEY = wf6Lkn1MAtqcgyW78xbceFHBz6ccsUo8 + # API KEY NAVER_APP_CLIENT_KEY = WGEct3bJhQC0pyMsP_GK NAVER_APP_SECRET_KEY = Q4K4OtUYol \ No newline at end of file diff --git a/.env.production b/.env.production index 8c3a5c02..5f7901fd 100644 --- a/.env.production +++ b/.env.production @@ -5,6 +5,10 @@ REACT_APP_IMAGE_HOST = https://palnet-file.s3.ap-northeast-2.amazonaws.com/ # Naver Search API HOST NAVER_SEARCH_API_HOST = https://openapi.naver.com/v1/search/local.json +#windy API KEY +REACT_WINDY_KEY = 8ynJ7tneZjmRxLmHQPGaDPGsGabgQhkC + # API KEY NAVER_APP_CLIENT_KEY = WGEct3bJhQC0pyMsP_GK -NAVER_APP_SECRET_KEY = Q4K4OtUYol \ No newline at end of file +NAVER_APP_SECRET_KEY = Q4K4OtUYol + diff --git a/public/index.html b/public/index.html index cb9247d1..f4cc001f 100644 --- a/public/index.html +++ b/public/index.html @@ -12,6 +12,7 @@ manifest.json provides metadata used when your web app is installed on a user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/ --> + + + -