- 2022.03.16 ~ 2022.03.23 (개발 기간)
- 2022.03.24 (배포 시작)
- 2022.12.03 ~ 2022.12.08 (리팩토링)
tooooo1 / dust-rating Goto Github PK
View Code? Open in Web Editor NEW전국 미세먼지 측정 서비스
Home Page: https://dust-rating.vercel.app
전국 미세먼지 측정 서비스
Home Page: https://dust-rating.vercel.app
지도를 확대나 축소할 때 초기 위치가 보였다가 확대되는 문제 해결하기
axios instance 생성 및 interceptor 추가해 재사용가능한 api 호출을 구현합니다.
LocalDetail 페이지 리팩토링을 진행해요.
동네 지도 위 미세먼지, 초미세먼지 정보 띄우기
미세먼지 지도 페이지 라우팅을 설정합니다.
eslint import 자동 정렬, 콘솔 사용 금지 설정
전국 지도 모드일 때 window가 포커스 된 경우, 마커가 계속 생성되는 문제를 해결합니다.
내 위치를 알기 위해서 geolocation.getCurrentPosition 를 사용합니다.
위의 과정을 통해 받아온 위/경도를 https://developers.kakao.com/docs/latest/ko/local/dev-guide 를 통해서 x,y 좌표로 바꿉니다.
위 과정을 통해서 얻어온 x,y 좌표로 내 위치의 온도, 습도를 받아옵니다.
초단기실황조회를 사용합니다.
받아온 정보를 아이콘과 함께 보여줍니다.
내 동네의 미세먼지 세부 사항을 보여줍니다.
내 동네의 미세먼지 세부 사항 업데이트 날자를 보여줍니다.
상세 정보를 얻고 싶은 지명 -> kakao api -> kakao api에서 얻은 좌표 -> 초단기실황조회 -> 날씨 정보 제공
폴더 정리 및 파일명 수정
마커 내부에 지역명을 추가합니다.
시간대별 미세먼지 농도 차트 구현
Choice 페이지에 chakra-ui 적용하기
지도 위에 위치별로 미세먼지, 초미세먼지 정보가 포함된 마커 띄우기
api 데이터 정제를 통해 컴포넌트 내부의 자바스크립트 코드 줄이기
대기질 예보 API 데이터 누락 예외 처리
if (!data[0]) fetchData();
fgrade 수치 데이터 값 예외 처리
Ranking 페이지 chakra-ui 적용하기
Choice 페이지에서 CSS 속성에 사용된 vw, vh 단위를 rem으로 변경합니다.
dustScaleValidate 유틸 함수 수정
airQuality를 dust로 통일하기
air quality API의 NaN 반환값을 정제합니다.
타입스크립트 마이그레이션
DustForcast 페이지 스타일 개선 및 DustState 컴포넌트 구조 개선
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.